| 1 |
# Make sure to use the module mode signature here to not bypass FindBoost |
| 2 |
find_package(Boost 1.60 COMPONENTS timer MODULE) |
| 3 |
if(Boost_FOUND) |
| 4 |
message(STATUS "Boost_FOUND") |
| 5 |
endif() |
| 6 |
message(STATUS "Boost_VERSION=${Boost_VERSION}") |
| 7 |
message(STATUS "Boost_VERSION_MAJOR=${Boost_VERSION_MAJOR}") |
| 8 |
message(STATUS "Boost_VERSION_MINOR=${Boost_VERSION_MINOR}") |
| 9 |
message(STATUS "Boost_VERSION_PATCH=${Boost_VERSION_PATCH}") |
| 10 |
message(STATUS "Boost_VERSION_COUNT=${Boost_VERSION_COUNT}") |
| 11 |
if(TARGET Boost::headers) |
| 12 |
message(STATUS "Boost::headers") |
| 13 |
endif() |
| 14 |
if(TARGET Boost::boost) |
| 15 |
message(STATUS "Boost::boost") |
| 16 |
endif() |
| 17 |
if(TARGET Boost::chrono) |
| 18 |
message(STATUS "Boost::chrono") |
| 19 |
endif() |
| 20 |
if(TARGET Boost::timer) |
| 21 |
message(STATUS "Boost::timer") |
| 22 |
endif() |
| 23 |
if(TARGET Boost::system) |
| 24 |
message(STATUS "Boost::system") |
| 25 |
endif() |