generated from Sithas/conan_template
Настроенная сборка
This commit is contained in:
+5
-2
@@ -8,7 +8,6 @@ if (POLICY CMP0167)
|
||||
cmake_policy(SET CMP0167 OLD)
|
||||
endif ()
|
||||
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
set(Boost_USE_MULTITHREADED ON)
|
||||
|
||||
if (WIN32)
|
||||
@@ -16,7 +15,7 @@ if (WIN32)
|
||||
set(Boost_LIBRARY_DIR "${BOOST_ROOT}/stage/lib")
|
||||
endif ()
|
||||
|
||||
find_package(Boost 1.83.0 REQUIRED COMPONENTS filesystem json log system filesystem url)
|
||||
find_package(Boost 1.88.0 REQUIRED COMPONENTS filesystem json log system url log_setup)
|
||||
if (Boost_FOUND)
|
||||
include_directories(${Boost_INCLUDE_DIR})
|
||||
endif ()
|
||||
@@ -84,6 +83,7 @@ target_link_libraries(App PRIVATE Boost::boost
|
||||
Boost::system
|
||||
Boost::filesystem
|
||||
Boost::url
|
||||
Boost::log_setup
|
||||
Threads::Threads
|
||||
mysql::concpp)
|
||||
|
||||
@@ -127,6 +127,7 @@ target_link_libraries(AuthRegistrationExecutorTests PRIVATE Boost::boost
|
||||
Boost::log
|
||||
Boost::system
|
||||
Boost::filesystem
|
||||
Boost::log_setup
|
||||
Threads::Threads
|
||||
mysql::concpp)
|
||||
add_test(AuthRegistrationExecutorTests AuthRegistrationExecutorTests)
|
||||
@@ -153,6 +154,7 @@ target_link_libraries(AuthLoginExecutorTests PRIVATE Boost::boost
|
||||
Boost::log
|
||||
Boost::system
|
||||
Boost::filesystem
|
||||
Boost::log_setup
|
||||
Threads::Threads
|
||||
mysql::concpp)
|
||||
add_test(AuthLoginExecutorTests AuthLoginExecutorTests)
|
||||
@@ -179,6 +181,7 @@ target_link_libraries(AuthLogoutExecutorTests PRIVATE Boost::boost
|
||||
Boost::log
|
||||
Boost::system
|
||||
Boost::filesystem
|
||||
Boost::log_setup
|
||||
Threads::Threads
|
||||
mysql::concpp)
|
||||
add_test(AuthLogoutExecutorTests AuthLogoutExecutorTests)
|
||||
|
||||
Reference in New Issue
Block a user