You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
326 B

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Scripts")
# Test GLOBAL include guard
add_subdirectory(global_script_dir)
include(GlobScript)
get_property(glob_count GLOBAL PROPERTY GLOB_SCRIPT_COUNT)
if(NOT glob_count EQUAL 1)
message(FATAL_ERROR
"Wrong GLOB_SCRIPT_COUNT value: ${glob_count}, expected: 1")
endif()