FindBoost: Clarify example static libs option (#13663)

State explicitly in the example that it will only find static libraries.
This commit is contained in:
Brad King 2013-11-01 11:05:14 -04:00
parent a42a66547b
commit f53878b0d5

View File

@ -132,9 +132,9 @@
# add_executable(foo foo.cc) # add_executable(foo foo.cc)
# endif() # endif()
# #
# Example to find Boost headers and some libraries:: # Example to find Boost headers and some *static* libraries::
# #
# set(Boost_USE_STATIC_LIBS ON) # set(Boost_USE_STATIC_LIBS ON) # only find static libs
# set(Boost_USE_MULTITHREADED ON) # set(Boost_USE_MULTITHREADED ON)
# set(Boost_USE_STATIC_RUNTIME OFF) # set(Boost_USE_STATIC_RUNTIME OFF)
# find_package(Boost 1.36.0 COMPONENTS date_time filesystem system ...) # find_package(Boost 1.36.0 COMPONENTS date_time filesystem system ...)