forked from boostorg/beast
Update CMake scripts for finding packages:
These changes require CMake version 3.7.2 or later.
This commit is contained in:
1 parent
b893749e29
commit
ffb17589d0
9 files changed
+43
-9
No files matched your search
@@ -16,6 +16,8 @@ add_executable (lib-tests
|
||||
)
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(lib-tests ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(lib-tests ${Boost_LIBRARIES})
|
||||
endif()
|
||||
|
||||
|
||||
@@ -39,4 +39,6 @@ add_executable (core-tests
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(core-tests ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(core-tests ${Boost_LIBRARIES})
|
||||
endif()
|
||||
@@ -32,6 +32,8 @@ add_executable (http-tests
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(http-tests ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(http-tests ${Boost_LIBRARIES})
|
||||
endif()
|
||||
|
||||
add_executable (bench-tests
|
||||
@@ -44,5 +46,7 @@ add_executable (bench-tests
|
||||
)
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(bench-tests ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(bench-tests ${Boost_LIBRARIES})
|
||||
endif()
|
||||
@@ -22,6 +22,8 @@ add_executable (websocket-tests
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(websocket-tests ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(websocket-tests ${Boost_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if (MINGW)
|
||||
|
||||
@@ -21,4 +21,6 @@ add_executable (zlib-tests
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(zlib-tests ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(zlib-tests ${Boost_LIBRARIES})
|
||||
endif()
|
||||
Reference in new issue
Block a user