Changeset - 2562909b19bb
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-07-27 08:25:27
hanzz.k@gmail.com
use boost multithreader
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
cmake_modules/BoostConfig.cmake
Show inline comments
 
@@ -628,32 +628,32 @@ ELSE (_boost_IN_CACHE)
 
            SET (_boost_COMPILER "-gcc${_boost_COMPILER_VERSION}")
 
          ENDIF()
 
        endif()
 
      endif (CMAKE_COMPILER_IS_GNUCXX)
 
    endif()
 
    if(Boost_DEBUG)
 
      message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] "
 
        "guessed _boost_COMPILER = ${_boost_COMPILER}")
 
    endif()
 
  endif(Boost_COMPILER)
 

	
 

	
 
  if(${Boost_MINOR_VERSION} GREATER 41 AND NOT WIN32 AND NOT APPLE)
 
      set (_boost_MULTITHREADED "")
 
  else()
 
#   if(${Boost_MINOR_VERSION} GREATER 41 AND NOT WIN32 AND NOT APPLE)
 
#       set (_boost_MULTITHREADED "")
 
#   else()
 
    SET (_boost_MULTITHREADED "-mt")
 
    if( NOT Boost_USE_MULTITHREADED )
 
      set (_boost_MULTITHREADED "")
 
    endif()
 
  endif()
 
#   endif()
 

	
 
  if(Boost_DEBUG)
 
    message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] "
 
      "_boost_MULTITHREADED = ${_boost_MULTITHREADED}")
 
  endif()
 

	
 
  SET( _boost_STATIC_TAG "")
 
  set( _boost_ABI_TAG "")
 
  IF (WIN32)
 
    IF(MSVC OR "${CMAKE_CXX_COMPILER}" MATCHES "icl"
 
            OR "${CMAKE_CXX_COMPILER}" MATCHES "icpc")
 
      SET (_boost_ABI_TAG "g")
0 comments (0 inline, 0 general)