projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ef2629
)
Tried to fix install directory problem on linux... Let's hope this doesn't blow it...
author
Perttu Ahola
<celeron55@gmail.com>
Tue, 18 Jan 2011 21:12:52 +0000
(23:12 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 18 Jan 2011 21:12:52 +0000
(23:12 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index dc9d98b368cbd19b95e08e2311582b81b47b3fee..0dc4728d57e3b78553ca7157fbd26f70cd97393e 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-46,13
+46,14
@@
if(WIN32)
set(BINDIR "bin")
set(DOCDIR "doc")
elseif(APPLE)
+ # random placeholders
set(DATADIR "share/minetest")
set(BINDIR "bin")
set(DOCDIR "share/doc/minetest")
elseif(UNIX)
- set(DATADIR "share/minetest")
- set(BINDIR "bin")
- set(DOCDIR "share/doc/minetest")
+ set(DATADIR "
/usr/
share/minetest")
+ set(BINDIR "
/usr/
bin")
+ set(DOCDIR "
/usr/
share/doc/minetest")
endif()
install(FILES "doc/README.txt" DESTINATION "${DOCDIR}")