cmake/Tests/RunCMake/export/FindDependencyExportShared-check.cmake
2024-04-14 22:45:38 +02:00

5 lines
201 B
CMake

file(READ "${RunCMake_TEST_BINARY_DIR}/mytargets.cmake" mytargets)
if("${mytargets}" MATCHES "find_dependency")
string(APPEND RunCMake_TEST_FAILED "No dependencies should not be exported\n")
endif()