mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 13:30:39 +00:00
FindBoost: Clarify example static libs option (#13663)
State explicitly in the example that it will only find static libraries.
This commit is contained in:
parent
a42a66547b
commit
f53878b0d5
@ -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 ...)
|
||||||
|
Loading…
Reference in New Issue
Block a user