summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/if/IsDirectoryLong.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/if/IsDirectoryLong.cmake')
-rw-r--r--Tests/RunCMake/if/IsDirectoryLong.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/if/IsDirectoryLong.cmake b/Tests/RunCMake/if/IsDirectoryLong.cmake
index e6939ac..41f1818 100644
--- a/Tests/RunCMake/if/IsDirectoryLong.cmake
+++ b/Tests/RunCMake/if/IsDirectoryLong.cmake
@@ -8,3 +8,6 @@ if(IS_DIRECTORY "${d}/")
else()
message(STATUS "Directory path with length ${dl} correctly does not exist.")
endif()
+if(IS_DIRECTORY "")
+ message(FATAL_ERROR "IS_DIRECTORY \"\" should not exist")
+endif()