FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z format

This aligns module mode behaviour with config mode.
This commit is contained in:
Dennis Klein
2019-05-03 20:23:08 +02:00
committed by Brad King
parent f9feab40a1
commit 5108759ed2
12 changed files with 55 additions and 4 deletions
@@ -0,0 +1 @@
-- Boost_VERSION=1.70.0
@@ -0,0 +1,2 @@
cmake_policy(SET CMP0093 NEW)
include(ModuleMode.cmake)
@@ -0,0 +1 @@
-- Boost_VERSION=107000
@@ -0,0 +1,2 @@
cmake_policy(SET CMP0093 OLD)
include(ModuleMode.cmake)
@@ -0,0 +1 @@
-- Boost_VERSION=107000
@@ -0,0 +1 @@
include(ModuleMode.cmake)
@@ -14,3 +14,7 @@ run_cmake(ConfigModeNotFound)
run_cmake(ModuleModeNotFound)
unset(RunCMake-stdout-file)
unset(RunCMake-stderr-file)
run_cmake(CMP0093-NEW)
run_cmake(CMP0093-OLD)
run_cmake(CMP0093-UNSET)