support non-system Boost
This commit is contained in:
parent
5b412019af
commit
8b6d939678
|
@ -11,7 +11,7 @@ include(ProjectFuncs)
|
|||
|
||||
# required system dependencies
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(Boost REQUIRED)
|
||||
find_package(Boost REQUIRED COMPONENTS system)
|
||||
|
||||
# default linker
|
||||
if(NOT PROJECT_LINKER AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
|
@ -40,4 +40,8 @@ target_compile_definitions(swsf_bruteforce PRIVATE
|
|||
target_compile_features(swsf_bruteforce PRIVATE cxx_std_20)
|
||||
target_include_directories(swsf_bruteforce PRIVATE ${PROJECT_SOURCE_DIR}/src)
|
||||
|
||||
target_link_libraries(swsf_bruteforce PRIVATE
|
||||
Boost::system
|
||||
)
|
||||
|
||||
project_target(swsf_bruteforce)
|
||||
|
|
Loading…
Reference in New Issue