mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user