Skip to content
Snippets Groups Projects
Commit 62126b67 authored by Brad King's avatar Brad King
Browse files

Merge branch 'test-cmake_policy-unmatched' into fix-find_package-version-file-error-stack

parents 2e28c619 b219ff94
No related branches found
No related tags found
No related merge requests found
Showing
with 36 additions and 0 deletions
1
^CMake Error at NotClosed.cmake:[0-9]+ \(include\):
cmake_policy PUSH without matching POP
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)$
cmake_policy(PUSH)
1
^CMake Error at NotOpened.cmake:[0-9]+ \(cmake_policy\):
cmake_policy POP without matching PUSH
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)$
cmake_policy(POP)
include(RunCMake)
run_cmake(NotClosed)
run_cmake(NotOpened)
run_cmake(parent-dir-generate-time)
run_cmake(dir-in-macro-generate-time)
1
^CMake Error at PolicyPop/PolicyPopConfigVersion.cmake:3 \(cmake_policy\):
cmake_policy POP without matching PUSH
Call Stack \(most recent call first\):
PolicyPop.cmake:1 \(find_package\)
CMakeLists.txt:3 \(include\)$
find_package(PolicyPop 1 CONFIG PATHS ${CMAKE_CURRENT_SOURCE_DIR}/PolicyPop NO_DEFAULT_PATH)
set(PACKAGE_VERSION 1)
set(PACKAGE_VERSION_COMPATIBLE 1)
cmake_policy(POP)
1
^CMake Error at PolicyPush/PolicyPushConfigVersion.cmake:1 \(find_package\):
cmake_policy PUSH without matching POP
Call Stack \(most recent call first\):
PolicyPush.cmake:1 \(find_package\)
CMakeLists.txt:3 \(include\)$
find_package(PolicyPush 1 CONFIG PATHS ${CMAKE_CURRENT_SOURCE_DIR}/PolicyPush NO_DEFAULT_PATH)
set(PACKAGE_VERSION 1)
set(PACKAGE_VERSION_COMPATIBLE 1)
cmake_policy(PUSH)
......@@ -13,4 +13,6 @@ run_cmake(MissingConfigOneName)
run_cmake(MissingConfigRequired)
run_cmake(MissingConfigVersion)
run_cmake(MixedModeOptions)
run_cmake(PolicyPush)
run_cmake(PolicyPop)
run_cmake(SetFoundFALSE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment