[Cmake-commits] [cmake-commits] lowman committed FindBoost.cmake 1.42 1.43
cmake-commits at cmake.org
cmake-commits at cmake.org
Sun Sep 20 11:33:10 EDT 2009
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv903
Modified Files:
FindBoost.cmake
Log Message:
Fix boost library detection with Sun Studio compiler (Issue #9153)
Index: FindBoost.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindBoost.cmake,v
retrieving revision 1.42
retrieving revision 1.43
diff -C 2 -d -r1.42 -r1.43
*** FindBoost.cmake 20 Aug 2009 02:28:46 -0000 1.42
--- FindBoost.cmake 20 Sep 2009 15:33:06 -0000 1.43
***************
*** 564,567 ****
--- 564,569 ----
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)
More information about the Cmake-commits
mailing list