mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
24 lines
1.3 KiB
Diff
24 lines
1.3 KiB
Diff
From 0ad31f29ace91c1f542f8e25d8456b4473f7f91a Mon Sep 17 00:00:00 2001
|
|
From: Haelwenn Monnier <contact@hacktivis.me>
|
|
Date: Sat, 11 Apr 2020 01:52:33 +0200
|
|
Subject: [PATCH] CMakeLists.txt: Fix executable install path
|
|
|
|
This installs the unix executable into a `$PREFIX/bin` folder so it is present into the PATH.
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 8a0a18c..6f0d5d0 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -661,7 +661,7 @@ SET_TARGET_PROPERTIES(${GAME_UNIXNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CM
|
|
# Installing on *nix
|
|
IF(UNIX)
|
|
INSTALL(CODE "MESSAGE(\"Installing ${GAME_NAME} ${GAME_VERSION}... Make sure that you have the appropriate privileges.\")")
|
|
- INSTALL(TARGETS "${GAME_UNIXNAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
|
+ INSTALL(TARGETS "${GAME_UNIXNAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/")
|
|
INSTALL(FILES LICENSE README.md CHANGES.md logo.png surge.png surge.rocks DESTINATION "${GAME_DATADIR}")
|
|
INSTALL(DIRECTORY characters scripts sprites config images levels musics quests samples scripts themes languages fonts licenses DESTINATION "${GAME_DATADIR}" PATTERN ".git" EXCLUDE)
|
|
INSTALL(FILES src/misc/opensurge.png DESTINATION "${DESKTOP_ICON_PATH}")
|