cmake/Tests/RunCMake/cmake_language/Experimental/ExportPackageDependencies-unset.cmake
2024-07-09 14:46:46 +02:00

9 lines
243 B
CMake

cmake_language(GET_EXPERIMENTAL_FEATURE_ENABLED
"ExportPackageDependencies"
feature_present)
if (NOT feature_present STREQUAL "FALSE")
message(FATAL_ERROR
"Expected the `ExportPackageDependencies` feature to be disabled.")
endif ()