summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject/XcodeBundles-install-check.cmake
blob: 758d7305331a3901d24d420744972108e7543923 (plain)
1
2
3
4
5
6
7
8
file(GLOB DIRECTORIES LIST_DIRECTORIES true
  "${RunCMake_TEST_BINARY_DIR}/_install/FooExtension/*.*")

foreach(DIRECTORY IN LISTS DIRECTORIES)
  if(NOT DIRECTORY MATCHES "\\.foo$")
    message(SEND_ERROR "Extension does not match ${DIRECTORY}")
  endif()
endforeach()