From fad5d59cf42ad876aa5553fe34beaf6a8f5a6cd1 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 31 Mar 2016 11:11:32 -0400 Subject: PushCheckStateTest: Update test to check CMAKE_EXTRA_INCLUDE_FILES --- Tests/CMakeTests/PushCheckStateTest.cmake.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tests/CMakeTests/PushCheckStateTest.cmake.in b/Tests/CMakeTests/PushCheckStateTest.cmake.in index 195881c..b4c48f4 100644 --- a/Tests/CMakeTests/PushCheckStateTest.cmake.in +++ b/Tests/CMakeTests/PushCheckStateTest.cmake.in @@ -1,5 +1,6 @@ include(CMakePushCheckState) +set(CMAKE_EXTRA_INCLUDE_FILES file1) set(CMAKE_REQUIRED_INCLUDES dir1) set(CMAKE_REQUIRED_DEFINITIONS defs1 ) set(CMAKE_REQUIRED_LIBRARIES lib1) @@ -8,6 +9,7 @@ set(CMAKE_REQUIRED_QUIET 1) cmake_push_check_state() +set(CMAKE_EXTRA_INCLUDE_FILES file2) set(CMAKE_REQUIRED_INCLUDES dir2) set(CMAKE_REQUIRED_DEFINITIONS defs2) set(CMAKE_REQUIRED_LIBRARIES lib2) @@ -16,6 +18,7 @@ set(CMAKE_REQUIRED_QUIET 2) cmake_push_check_state() +set(CMAKE_EXTRA_INCLUDE_FILES file3) set(CMAKE_REQUIRED_DEFINITIONS defs3) set(CMAKE_REQUIRED_INCLUDES dir3) set(CMAKE_REQUIRED_DEFINITIONS defs3) @@ -26,6 +29,7 @@ set(CMAKE_REQUIRED_QUIET 3) cmake_pop_check_state() foreach(pair IN ITEMS + EXTRA_INCLUDE_FILES|file2 REQUIRED_INCLUDES|dir2 REQUIRED_DEFINITIONS|defs2 REQUIRED_LIBRARIES|lib2 @@ -44,6 +48,7 @@ endforeach() cmake_pop_check_state() foreach(pair IN ITEMS + EXTRA_INCLUDE_FILES|file1 REQUIRED_INCLUDES|dir1 REQUIRED_DEFINITIONS|defs1 REQUIRED_LIBRARIES|lib1 -- cgit v0.12