diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-18 23:12:52 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-18 23:12:52 +0200 |
commit | affa8f80ad4eec654dba31868612493d98f403e3 (patch) | |
tree | 922b89f6f01e0fed553d81e413ea45b0cd4878e0 | |
parent | 3ef2629e847e1e7e239068bbf17bebd6d4ebfc95 (diff) | |
download | minetest-affa8f80ad4eec654dba31868612493d98f403e3.tar.gz minetest-affa8f80ad4eec654dba31868612493d98f403e3.tar.bz2 minetest-affa8f80ad4eec654dba31868612493d98f403e3.zip |
Tried to fix install directory problem on linux... Let's hope this doesn't blow it all.
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dc9d98b36..0dc4728d5 100644 --- 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}") |