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

This commit is contained in:
Philip Lowman 2009-01-18 15:17:31 -05:00
parent 5913dc1e88
commit 909dd8af48

View File

@ -1,8 +1,8 @@
# - Try to find Boost include dirs and libraries # - Try to find Boost include dirs and libraries
# Usage of this module as follows: # Usage of this module as follows:
# #
# SET(Boost_USE_STATIC_LIBS ON) # SET(Boost_USE_STATIC_LIBS ON)
# SET(Boost_USE_MULTITHREAD OFF) # SET(Boost_USE_MULTITHREADED ON)
# FIND_PACKAGE( Boost 1.34.1 COMPONENTS date_time filesystem iostreams ... ) # FIND_PACKAGE( Boost 1.34.1 COMPONENTS date_time filesystem iostreams ... )
# #
# INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) # INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
@ -47,8 +47,9 @@
# Variables used by this module, they can change the default behaviour and need to be set # Variables used by this module, they can change the default behaviour and need to be set
# before calling find_package: # before calling find_package:
# #
# Boost_USE_MULTITHREAD Can be set to OFF to use the non-multithreaded # Boost_USE_MULTITHREADED Can be set to OFF to use the non-multithreaded
# boost libraries. Defaults to ON. # boost libraries. If not specified, defaults
# to ON.
# #
# Boost_USE_STATIC_LIBS Can be set to ON to force the use of the static # Boost_USE_STATIC_LIBS Can be set to ON to force the use of the static
# boost libraries. Defaults to OFF. # boost libraries. Defaults to OFF.
@ -129,8 +130,9 @@
# BSD license. # BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
# #
OPTION(Boost_USE_MULTITHREADED IF(NOT DEFINED Boost_USE_MULTITHREADED)
"Use the multithreaded versions of the Boost libraries" ON) SET(Boost_USE_MULTITHREADED TRUE)
ENDIF()
if(Boost_FIND_VERSION_EXACT) if(Boost_FIND_VERSION_EXACT)
# The version may appear in a directory with or without the patch # The version may appear in a directory with or without the patch