Added explicit bin install directory for old CMake.

Issue #110.
This commit is contained in:
Muzychenko Andrey committed 2021-12-20 09:06:32 +03:00
1 parent e81c6c9d37
commit 0dc6006937
1 file changed
+2 -1
+2 -1
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")