Commit 909dd8af authored by Philip Lowman's avatar Philip Lowman

BUG: Fixed documentation bug with Boost_USE_MULTITHREADED, removed OPTION()...

BUG: Fixed documentation bug with Boost_USE_MULTITHREADED, removed OPTION() call since it would be useless and confusing after an initial configure.
parent 5913dc1e
# - Try to find Boost include dirs and libraries
# Usage of this module as follows:
#
# SET(Boost_USE_STATIC_LIBS ON)
# SET(Boost_USE_MULTITHREAD OFF)
# SET(Boost_USE_STATIC_LIBS ON)
# SET(Boost_USE_MULTITHREADED ON)
# FIND_PACKAGE( Boost 1.34.1 COMPONENTS date_time filesystem iostreams ... )
#
# 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
# before calling find_package:
#
# Boost_USE_MULTITHREAD Can be set to OFF to use the non-multithreaded
# boost libraries. Defaults to ON.
# 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
# boost libraries. Defaults to OFF.
......@@ -129,8 +130,9 @@
# BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
OPTION(Boost_USE_MULTITHREADED
"Use the multithreaded versions of the Boost libraries" ON)
IF(NOT DEFINED Boost_USE_MULTITHREADED)
SET(Boost_USE_MULTITHREADED TRUE)
ENDIF()
if(Boost_FIND_VERSION_EXACT)
# The version may appear in a directory with or without the patch
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment