Add test to secure the file(GLOB empty) behavior.
This commit is contained in:
parent
c2a6cb64af
commit
48ed48f7ad
|
@ -60,6 +60,11 @@ check_cmake_test(File
|
|||
SHA512-Works
|
||||
)
|
||||
|
||||
file(GLOB hum)
|
||||
if (NOT hum STREQUAL "")
|
||||
message(FATAL_ERROR "file(GLOB hum) did not return an empty string.")
|
||||
endif()
|
||||
|
||||
# Also execute each test listed in FileTestScript.cmake:
|
||||
#
|
||||
set(scriptname "@CMAKE_CURRENT_SOURCE_DIR@/FileTestScript.cmake")
|
||||
|
|
Loading…
Reference in New Issue