Changeset - 5110f047f1d4
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-10-03 13:24:53
hanzz.k@gmail.com
Check for boost_thread-mt prioritely and fallback to boost_thread
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
CMakeLists.txt
Show inline comments
 
@@ -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)
 

	
0 comments (0 inline, 0 general)