1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-12-18 10:37:53 +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() endif()
if(UNIX AND NOT APPLE) 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}.desktop" DESTINATION "share/applications")
install(FILES "${PROJECT_NAME}/Icon_16x16.png" DESTINATION install(FILES "${PROJECT_NAME}/Icon_16x16.png" DESTINATION
"share/icons/hicolor/16x16/apps" RENAME "${PROJECT_NAME}.png") "share/icons/hicolor/16x16/apps" RENAME "${PROJECT_NAME}.png")