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