cmake/Tests/RunCMake/CXXModules/InstallBMINoGenericArgs-check.cmake

9 lines
373 B
CMake
Raw Normal View History

2022-11-16 20:14:03 +01:00
file(READ "${RunCMake_TEST_BINARY_DIR}/cmake_install.cmake" install_script)
if (install_script MATCHES [[include\("[^)]*/CMakeFiles/install-bmi-generic-args\.dir/install-cxx-module-bmi-[^.]*\.cmake" OPTIONAL\)]])
list(APPEND RunCMake_TEST_FAILED
"Found BMI install script inclusion")
endif ()
string(REPLACE ";" "; " RunCMake_TEST_FAILED "${RunCMake_TEST_FAILED}")