Check for boost_thread-mt prioritely and fallback to boost_thread
This commit is contained in:
parent
4d2f3bd069
commit
5110f047f1
1 changed files with 2 additions and 2 deletions
|
@ -145,9 +145,9 @@ 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 signals REQUIRED)
|
||||
find_package(Boost COMPONENTS program_options date_time system filesystem regex thread-mt signals REQUIRED)
|
||||
if (NOT Boost_FOUND)
|
||||
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)
|
||||
endif()
|
||||
endif(WIN32)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue