Fix 799eb31: [CMake] Don't include regression AIs in bundles (#9068)

This commit is contained in:
Loïc Guilloux 2021-04-20 18:46:15 +02:00 committed by GitHub
parent ce6a744278
commit 8395c6532e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ install(DIRECTORY
${CMAKE_BINARY_DIR}/game
${CMAKE_SOURCE_DIR}/bin/scripts
DESTINATION ${DATA_DESTINATION_DIR}
COMPONENT language_files)
COMPONENT language_files
REGEX "ai/[^\.]+$" EXCLUDE # Ignore subdirs in ai dir
)
install(FILES
${CMAKE_SOURCE_DIR}/COPYING.md