1
0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-22 02:32:39 +01:00

Added explicit bin install directory for old CMake.

Issue #110.
This commit is contained in:
Muzychenko Andrey 2021-12-20 09:06:32 +03:00
parent e81c6c9d37
commit 0dc6006937

View File

@ -219,7 +219,8 @@ if(WIN32)
endif()
if(UNIX AND NOT APPLE)
install(TARGETS "${PROJECT_NAME}" RUNTIME)
include(GNUInstallDirs)
install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(FILES "${PROJECT_NAME}.desktop" DESTINATION "share/applications")
install(FILES "${PROJECT_NAME}/Icon_16x16.png" DESTINATION
"share/icons/hicolor/16x16/apps" RENAME "${PROJECT_NAME}.png")