summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorLoïc Guilloux <glx22@users.noreply.github.com>2021-04-20 18:46:15 +0200
committerGitHub <noreply@github.com>2021-04-20 18:46:15 +0200
commit8395c6532e3a36e67db38df945273bd17166c13f (patch)
treec03744b47b439131e427cb97e86e22acd3ac119c /cmake
parentce6a74427855ccadee7abfd9b444fad73b5a4578 (diff)
downloadopenttd-8395c6532e3a36e67db38df945273bd17166c13f.tar.xz
Fix 799eb31: [CMake] Don't include regression AIs in bundles (#9068)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/InstallAndPackage.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/InstallAndPackage.cmake b/cmake/InstallAndPackage.cmake
index fa36518d5..9b7d65788 100644
--- a/cmake/InstallAndPackage.cmake
+++ b/cmake/InstallAndPackage.cmake
@@ -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