summarylogtreecommitdiffstats
path: root/cmake-install-location.patch
blob: 69c0901fa8597e7106876ee099a8f541560a4924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cc3b028c..6e611ad4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -33,7 +33,7 @@ if (WIN32)
 endif()
 
 if(UNIX AND NOT APPLE)
-	install(TARGETS gbe_plus DESTINATION /usr/local/bin)
+	install(TARGETS gbe_plus DESTINATION bin)
 	install(FILES gbe.ini DESTINATION ${USER_HOME}/.gbe_plus/)
	install(DIRECTORY data DESTINATION ${USER_HOME}/.gbe_plus)
 	install(CODE "execute_process(COMMAND chown -R ${USER}:${USER} ${USER_HOME}/.gbe_plus)")