Skip to content

Commit

Permalink
Do not exclude any levelsets for Release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Vankata453 committed Feb 1, 2024
1 parent b09c8db commit 8a3ff17
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -750,18 +750,9 @@ INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/images
${CMAKE_CURRENT_SOURCE_DIR}/data/locale
DESTINATION ${INSTALL_SUBDIR_SHARE})

IF(CMAKE_BUILD_TYPE MATCHES Release)
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/levels
DESTINATION ${INSTALL_SUBDIR_SHARE}
PATTERN "data/levels/test" EXCLUDE
PATTERN "data/levels/test_old" EXCLUDE
PATTERN "data/levels/incubator" EXCLUDE
PATTERN "data/levels/misc/menu.stl.in" EXCLUDE)
ELSE()
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/levels
DESTINATION ${INSTALL_SUBDIR_SHARE}
PATTERN "data/levels/misc/menu.stl.in" EXCLUDE)
ENDIF()
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/levels
DESTINATION ${INSTALL_SUBDIR_SHARE}
PATTERN "data/levels/misc/menu.stl.in" EXCLUDE)

INSTALL(FILES "${CMAKE_BINARY_DIR}/data/levels/misc/menu.stl" DESTINATION "${INSTALL_SUBDIR_SHARE}/levels/misc")

Expand Down

0 comments on commit 8a3ff17

Please sign in to comment.