summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalProjectSubdir/Subdir1
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-21 15:32:22 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-22 12:48:52 (GMT)
commite1c6df392bae4f807bbc56f2c4320de412f48721 (patch)
tree6ef9578dcdbdd01d6ee5059374c56a590a326392 /Tests/ExternalProjectSubdir/Subdir1
parentc0502faa4b6c0a3c33d1b0dd346801ff8d4f8b0d (diff)
downloadCMake-e1c6df392bae4f807bbc56f2c4320de412f48721.zip
CMake-e1c6df392bae4f807bbc56f2c4320de412f48721.tar.gz
CMake-e1c6df392bae4f807bbc56f2c4320de412f48721.tar.bz2
ExternalProject: Allow dependencies on INTERFACE libraries
Respect INTERFACE library property whitelist. Check that a target has type "UTILITY" before querying other properties.
Diffstat (limited to 'Tests/ExternalProjectSubdir/Subdir1')
-rw-r--r--Tests/ExternalProjectSubdir/Subdir1/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/ExternalProjectSubdir/Subdir1/CMakeLists.txt b/Tests/ExternalProjectSubdir/Subdir1/CMakeLists.txt
index 28107f0..2303c3e 100644
--- a/Tests/ExternalProjectSubdir/Subdir1/CMakeLists.txt
+++ b/Tests/ExternalProjectSubdir/Subdir1/CMakeLists.txt
@@ -8,3 +8,7 @@ endif()
if(NOT "${GENEX_VAR}" STREQUAL "GENEX_VALUE")
message(SEND_ERROR "GENEX_VAR != 'GENEX_VALUE'")
endif()
+
+if(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/../PreSubdir1.txt")
+ message(SEND_ERROR "../PreSubdir1.txt not provided!")
+endif()