[Cmake-commits] [cmake-commits] lowman committed FindBoost.cmake 1.28 1.29

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jan 19 19:21:13 EST 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv23629

Modified Files:
	FindBoost.cmake 
Log Message:
BUG: Switch FindBoost.cmake to use CMAKE_COMPILER_IS_GNUCXX (Issue #8398)


Index: FindBoost.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindBoost.cmake,v
retrieving revision 1.28
retrieving revision 1.29
diff -C 2 -d -r1.28 -r1.29
*** FindBoost.cmake	19 Jan 2009 10:14:30 -0000	1.28
--- FindBoost.cmake	20 Jan 2009 00:21:10 -0000	1.29
***************
*** 533,537 ****
        endif()
      elseif (UNIX)
!       if (CMAKE_COMPILER_IS_GNUCC)
          if(${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} VERSION_LESS 1.34)
            SET(_boost_COMPILER "-gcc") # no GCC version encoding prior to 1.34
--- 533,537 ----
        endif()
      elseif (UNIX)
!       if (CMAKE_COMPILER_IS_GNUCXX)
          if(${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} VERSION_LESS 1.34)
            SET(_boost_COMPILER "-gcc") # no GCC version encoding prior to 1.34
***************
*** 564,568 ****
            ENDIF()
          endif()
!       endif (CMAKE_COMPILER_IS_GNUCC)
      endif()
      if(Boost_DEBUG)
--- 564,568 ----
            ENDIF()
          endif()
!       endif (CMAKE_COMPILER_IS_GNUCXX)
      endif()
      if(Boost_DEBUG)



More information about the Cmake-commits mailing list