Fix boost library detection with Sun Studio compiler (Issue #9153)

This commit is contained in:
Philip Lowman 2009-09-20 11:33:06 -04:00
parent cabca8d903
commit 9c2a38b836
1 changed files with 2 additions and 0 deletions

View File

@ -563,6 +563,8 @@ ELSE (_boost_IN_CACHE)
else()
set (_boost_COMPILER "-il")
endif()
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "SunPro")
set(_boost_COMPILER "-sw")
elseif (MINGW)
if(${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} VERSION_LESS 1.34)
SET(_boost_COMPILER "-mgw") # no GCC version encoding prior to 1.34