Check for boost_thread-mt quietly
This commit is contained in:
parent
5110f047f1
commit
369da03b7e
1 changed files with 3 additions and 1 deletions
|
@ -145,8 +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)
|
||||
set(Boost_FIND_QUIETLY ON)
|
||||
find_package(Boost COMPONENTS program_options date_time system filesystem regex thread-mt signals)
|
||||
if (NOT Boost_FOUND)
|
||||
set(Boost_FIND_QUIETLY OFF)
|
||||
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