diff options
author | Alexander Grund <alexander.grund@tu-dresden.de> | 2019-06-14 07:06:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-18 12:33:36 (GMT) |
commit | 830b332f32ac0782fe3380eb7b0b55fa8f81f456 (patch) | |
tree | a2e9aa275e2821f2af36ee2c67cb1c69e3cf7667 /Tests/RunCMake/FindBoost/LegacyVars-LowercaseTargetPrefix.cmake | |
parent | 0dd6772a89df2e7640187028573f7d981bbd0f67 (diff) | |
download | CMake-830b332f32ac0782fe3380eb7b0b55fa8f81f456.zip CMake-830b332f32ac0782fe3380eb7b0b55fa8f81f456.tar.gz CMake-830b332f32ac0782fe3380eb7b0b55fa8f81f456.tar.bz2 |
FindBoost: Add tests for legacy variables
Diffstat (limited to 'Tests/RunCMake/FindBoost/LegacyVars-LowercaseTargetPrefix.cmake')
-rw-r--r-- | Tests/RunCMake/FindBoost/LegacyVars-LowercaseTargetPrefix.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindBoost/LegacyVars-LowercaseTargetPrefix.cmake b/Tests/RunCMake/FindBoost/LegacyVars-LowercaseTargetPrefix.cmake new file mode 100644 index 0000000..a398c2d --- /dev/null +++ b/Tests/RunCMake/FindBoost/LegacyVars-LowercaseTargetPrefix.cmake @@ -0,0 +1,6 @@ +# Use a (made up) modern style BoostConfig that defines all targets +# as boost::<component> with appropriate properties set +# No legacy variables defined in the BoostConfig +set(Boost_DIR ${CMAKE_CURRENT_SOURCE_DIR}/CMakePackage_LowerCaseTargetPrefix) + +include(${CMAKE_CURRENT_SOURCE_DIR}/LegacyVars.cmake) |