diff options
author | Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com> | 2016-03-31 15:11:32 (GMT) |
---|---|---|
committer | Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com> | 2016-03-31 15:11:32 (GMT) |
commit | fad5d59cf42ad876aa5553fe34beaf6a8f5a6cd1 (patch) | |
tree | d574501d26aac8e5ed5062143024fe4047f58710 /Tests/CMakeTests | |
parent | 72a862a55bdf16f4ff41239d400bd6b1aacfc7c2 (diff) | |
download | CMake-fad5d59cf42ad876aa5553fe34beaf6a8f5a6cd1.zip CMake-fad5d59cf42ad876aa5553fe34beaf6a8f5a6cd1.tar.gz CMake-fad5d59cf42ad876aa5553fe34beaf6a8f5a6cd1.tar.bz2 |
PushCheckStateTest: Update test to check CMAKE_EXTRA_INCLUDE_FILES
Diffstat (limited to 'Tests/CMakeTests')
-rw-r--r-- | Tests/CMakeTests/PushCheckStateTest.cmake.in | 5 |
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 |