XcodeBundles-install-check.cmake 269 B

12345678
  1. file(GLOB DIRECTORIES LIST_DIRECTORIES true
  2. "${RunCMake_TEST_BINARY_DIR}/_install/FooExtension/*.*")
  3. foreach(DIRECTORY IN LISTS DIRECTORIES)
  4. if(NOT DIRECTORY MATCHES "\\.foo$")
  5. message(SEND_ERROR "Extension does not match ${DIRECTORY}")
  6. endif()
  7. endforeach()