Skip to content

Commit

Permalink
Remove hardcoded paths from installation part
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Jan 22, 2024
1 parent f52737c commit 1706121
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,9 @@ endif(OPENGL)
# install bundle
install(TARGETS XaoS DESTINATION bin)

# install translations
install(FILES DESTINATION bin/XaoS.app/Contents/Resources/translations)

# install catalogs and tutorial
install(DIRECTORY catalogs tutorial DESTINATION bin/XaoS.app/Contents/Resources)
install(DIRECTORY catalogs tutorial DESTINATION .)

# install example files
file(GLOB EXAMPLE_FILES ${PROJECT_DIR}/examples/*/*.xpf)
install(FILES ${EXAMPLE_FILES} DESTINATION bin/XaoS.app/Contents/Resources/examples)
file(GLOB EXAMPLE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/examples/*/*.xpf)
install(FILES ${EXAMPLE_FILES} DESTINATION examples)

0 comments on commit 1706121

Please sign in to comment.