[Cmake-commits] [cmake-commits] lowman committed FindBoost.cmake 1.19 1.20

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Jan 18 15:17:33 EST 2009


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

Modified Files:
	FindBoost.cmake 
Log Message:
BUG: Fixed documentation bug with Boost_USE_MULTITHREADED, removed OPTION() call since it would be useless and confusing after an initial configure.


Index: FindBoost.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindBoost.cmake,v
retrieving revision 1.19
retrieving revision 1.20
diff -C 2 -d -r1.19 -r1.20
*** FindBoost.cmake	18 Jan 2009 19:40:48 -0000	1.19
--- FindBoost.cmake	18 Jan 2009 20:17:31 -0000	1.20
***************
*** 2,7 ****
  # Usage of this module as follows:
  #
! #     SET(Boost_USE_STATIC_LIBS ON)
! #     SET(Boost_USE_MULTITHREAD OFF)
  #     FIND_PACKAGE( Boost 1.34.1 COMPONENTS date_time filesystem iostreams ... )
  #
--- 2,7 ----
  # Usage of this module as follows:
  #
! #     SET(Boost_USE_STATIC_LIBS   ON)
! #     SET(Boost_USE_MULTITHREADED ON)
  #     FIND_PACKAGE( Boost 1.34.1 COMPONENTS date_time filesystem iostreams ... )
  #
***************
*** 48,53 ****
  # before calling find_package:
  #
! #  Boost_USE_MULTITHREAD         Can be set to OFF to use the non-multithreaded
! #                                boost libraries. Defaults to ON.
  #
  #  Boost_USE_STATIC_LIBS         Can be set to ON to force the use of the static
--- 48,54 ----
  # before calling find_package:
  #
! #  Boost_USE_MULTITHREADED       Can be set to OFF to use the non-multithreaded
! #                                boost libraries.  If not specified, defaults
! #                                to ON.
  #
  #  Boost_USE_STATIC_LIBS         Can be set to ON to force the use of the static
***************
*** 130,135 ****
  #  For details see the accompanying COPYING-CMAKE-SCRIPTS file.
  #
! OPTION(Boost_USE_MULTITHREADED 
!   "Use the multithreaded versions of the Boost libraries" ON)
  
  if(Boost_FIND_VERSION_EXACT)
--- 131,137 ----
  #  For details see the accompanying COPYING-CMAKE-SCRIPTS file.
  #
! IF(NOT DEFINED Boost_USE_MULTITHREADED)
!     SET(Boost_USE_MULTITHREADED TRUE)
! ENDIF()
  
  if(Boost_FIND_VERSION_EXACT)



More information about the Cmake-commits mailing list