Skip to content

Commit

Permalink
Fix 799eb31: [CMake] Don't include regression AIs in bundles (OpenTTD…
Browse files Browse the repository at this point in the history
  • Loading branch information
glx22 authored and LordAro committed May 1, 2021
1 parent 3fb0caf commit a0b960b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/InstallAndPackage.cmake
Expand Up @@ -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
Expand Down

0 comments on commit a0b960b

Please sign in to comment.