[Cmake-commits] [cmake-commits] dgregor committed FindBoost.cmake 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Apr 22 13:32:09 EDT 2008


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

Modified Files:
	FindBoost.cmake 
Log Message:
ENH: FindBoost always sets Boost_LIBRARY_DIRS when it finds the Boost libraries


Index: FindBoost.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindBoost.cmake,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** FindBoost.cmake	22 Apr 2008 17:14:51 -0000	1.5
--- FindBoost.cmake	22 Apr 2008 17:32:07 -0000	1.6
***************
*** 148,151 ****
--- 148,152 ----
        SET(Boost_${basename}_LIBRARY ${Boost_${basename}_LIBRARY} CACHE FILEPATH "The Boost ${basename} library")
        GET_FILENAME_COMPONENT(Boost_LIBRARY_DIRS "${Boost_${basename}_LIBRARY}" PATH)
+       SET(Boost_LIBRARY_DIRS ${Boost_LIBRARY_DIRS} CACHE FILEPATH "Boost library directory")
        SET(Boost_${basename}_FOUND ON CACHE INTERNAL "Was the boost boost ${basename} library found")
      ENDIF (Boost_${basename}_LIBRARY)
***************
*** 518,522 ****
      
        IF(_boost_LIB_DIR AND EXISTS "${_boost_LIB_DIR}")
!         SET(Boost_LIBRARY_DIRS ${_boost_LIB_DIR})
        ENDIF(_boost_LIB_DIR AND EXISTS "${_boost_LIB_DIR}")
  
--- 519,523 ----
      
        IF(_boost_LIB_DIR AND EXISTS "${_boost_LIB_DIR}")
!         SET(Boost_LIBRARY_DIRS ${_boost_LIB_DIR} CACHE FILEPATH "Boost library directory")
        ENDIF(_boost_LIB_DIR AND EXISTS "${_boost_LIB_DIR}")
  



More information about the Cmake-commits mailing list