diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-11-19 21:23:31 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2018-11-20 15:45:24 (GMT) |
commit | 19d92d5e6e79448337aface8ed40df78240d674b (patch) | |
tree | 04d94a33ab98b611defd5dad136c6ebf45f1b3ca /Tests/FindBoost | |
parent | 186f69cf26b02ec4e2583c846ab3f2d4211997b7 (diff) | |
download | CMake-19d92d5e6e79448337aface8ed40df78240d674b.zip CMake-19d92d5e6e79448337aface8ed40df78240d674b.tar.gz CMake-19d92d5e6e79448337aface8ed40df78240d674b.tar.bz2 |
FindBoost: provide the version in x.y.z format
Diffstat (limited to 'Tests/FindBoost')
-rw-r--r-- | Tests/FindBoost/Test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindBoost/Test/CMakeLists.txt b/Tests/FindBoost/Test/CMakeLists.txt index 81433ea..39e92c1 100644 --- a/Tests/FindBoost/Test/CMakeLists.txt +++ b/Tests/FindBoost/Test/CMakeLists.txt @@ -14,7 +14,7 @@ if(NOT Boost_PROGRAM_OPTIONS_FOUND) endif(NOT Boost_PROGRAM_OPTIONS_FOUND) add_definitions(-DCMAKE_EXPECTED_BOOST_VERSION="${Boost_VERSION}") -add_definitions(-DCMAKE_EXPECTED_BOOST_VERSION_COMPONENTS="${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}") +add_definitions(-DCMAKE_EXPECTED_BOOST_VERSION_COMPONENTS="${Boost_VERSION_STRING}") add_executable(test_boost_tgt main.cxx) target_link_libraries(test_boost_tgt |