Stuff to make flatpak build work...

This commit is contained in:
Jammyjamjamman
2019-03-30 01:19:49 +00:00
parent 0df187653f
commit 88d9c64bef
2 changed files with 98 additions and 1 deletions

View File

@@ -285,10 +285,14 @@ IF(BUILD_GLEST)
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/mk/windows/glest.ini"
DESTINATION ${INSTALL_DIR_INI})
ELSEIF(UNIX AND NOT APPLE)
ELSEIF(UNIX AND NOT APPLE AND NOT FLATPAK_INSTALL)
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/mk/shared/glest.ini"
DESTINATION ${INSTALL_DIR_INI})
ELSEIF(UNIX AND NOT APPLE AND FLATPAK_INSTALL)
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/mk/flatpak/glest.ini"
DESTINATION ${INSTALL_DIR_INI})
ELSEIF(UNIX AND APPLE)
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/mk/shared/glest.ini"