differentiation not needed

This commit is contained in:
Martin Marmsoler 2023-02-17 18:03:56 +01:00
parent 585808a653
commit c338a3693b
2 changed files with 8 additions and 24 deletions

View File

@ -35,16 +35,8 @@ else()
set_target_properties(indexer PROPERTIES INSTALL_RPATH "$ORIGIN")
endif()
if(FLATPAK)
# Install application.
install(
TARGETS indexer
DESTINATION ./bin # otherwise the executable will not be found by flatpak
COMPONENT ${GITTYUP_NAME})
else()
install(
TARGETS indexer
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT ${GITTYUP_NAME})
endif()
install(
TARGETS indexer
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT ${GITTYUP_NAME})
endif()

View File

@ -32,16 +32,8 @@ if(APPLE)
elseif(UNIX)
set_target_properties(relauncher PROPERTIES INSTALL_RPATH "$ORIGIN")
if(FLATPAK)
# Install application.
install(
TARGETS relauncher
DESTINATION ./bin # otherwise the executable will not be found by flatpak
COMPONENT ${GITTYUP_NAME})
else()
install(
TARGETS relauncher
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT ${GITTYUP_NAME})
endif()
install(
TARGETS relauncher
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT ${GITTYUP_NAME})
endif()