diff options
author | Loïc Guilloux <glx22@users.noreply.github.com> | 2021-04-20 18:46:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 18:46:15 +0200 |
commit | 8395c6532e3a36e67db38df945273bd17166c13f (patch) | |
tree | c03744b47b439131e427cb97e86e22acd3ac119c | |
parent | ce6a74427855ccadee7abfd9b444fad73b5a4578 (diff) | |
download | openttd-8395c6532e3a36e67db38df945273bd17166c13f.tar.xz |
Fix 799eb31: [CMake] Don't include regression AIs in bundles (#9068)
-rw-r--r-- | cmake/InstallAndPackage.cmake | 4 |
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 |