diff options
author | Brad King <brad.king@kitware.com> | 2017-09-29 14:05:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-29 14:10:01 (GMT) |
commit | c044b9ae8421cae4ee91399dabee31aa75f80b1c (patch) | |
tree | bd7bbe85d4a7c14359414864f4dc999311285d81 /Tests/RunCMake/FindBoost/CMakePackage.cmake | |
parent | 6bced4bf76e33b5c80a9a821d99ac933afa6ac03 (diff) | |
download | CMake-c044b9ae8421cae4ee91399dabee31aa75f80b1c.zip CMake-c044b9ae8421cae4ee91399dabee31aa75f80b1c.tar.gz CMake-c044b9ae8421cae4ee91399dabee31aa75f80b1c.tar.bz2 |
FindBoost: Improve messages when a Boost CMake package is found
Add a test for this case to verify the messages. This test will also be
valuable to cover this code path in which we've had several regressions
recently.
Diffstat (limited to 'Tests/RunCMake/FindBoost/CMakePackage.cmake')
-rw-r--r-- | Tests/RunCMake/FindBoost/CMakePackage.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindBoost/CMakePackage.cmake b/Tests/RunCMake/FindBoost/CMakePackage.cmake new file mode 100644 index 0000000..06aeccb --- /dev/null +++ b/Tests/RunCMake/FindBoost/CMakePackage.cmake @@ -0,0 +1,2 @@ +set(Boost_DIR ${CMAKE_CURRENT_SOURCE_DIR}/CMakePackage) +find_package(Boost 1.12345 COMPONENTS date_time) |