Check for boost_thread and also boost_thread-mt
This commit is contained in:
parent
83113fe697
commit
4d2f3bd069
1 changed files with 4 additions and 1 deletions
|
@ -145,7 +145,10 @@ else(WIN32)
|
|||
message(STATUS "Using non-multithreaded boost")
|
||||
set(Boost_USE_MULTITHREADED 0)
|
||||
endif(contains)
|
||||
find_package(Boost COMPONENTS program_options date_time system filesystem regex thread-mt signals REQUIRED)
|
||||
find_package(Boost COMPONENTS program_options date_time system filesystem regex thread signals REQUIRED)
|
||||
if (NOT Boost_FOUND)
|
||||
find_package(Boost COMPONENTS program_options date_time system filesystem regex thread-mt signals REQUIRED)
|
||||
endif()
|
||||
endif(WIN32)
|
||||
|
||||
message( STATUS "Found Boost: ${Boost_LIBRARIES}, ${Boost_INCLUDE_DIR}")
|
||||
|
|
Loading…
Add table
Reference in a new issue