summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeTests/PushCheckStateTest.cmake.in5
1 files changed, 5 insertions, 0 deletions
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