Skip to content

Commit 7c65fa2

Browse files
committed
Simlify test-url
1 parent ee2cfdc commit 7c65fa2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

test/CMakeLists.txt

+2-7
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,5 @@ cmake_minimum_required(VERSION 3.15)
22

33
project(cpp-upnp-tests)
44

5-
list(INSERT CMAKE_PREFIX_PATH 0 ${CMAKE_SOURCE_DIR}/..)
6-
find_package(CPPUPnP REQUIRED)
7-
8-
add_executable (test-url ./test-url.cpp)
9-
target_compile_features (test-url PRIVATE cxx_std_17)
10-
target_include_directories(test-url PRIVATE cpp_upnp)
11-
target_link_libraries (test-url cpp_upnp)
5+
add_executable (test-url ./test-url.cpp ../src/url.cpp)
6+
target_include_directories(test-url PRIVATE ../include)

0 commit comments

Comments
 (0)