From: Perttu Ahola Date: Tue, 18 Jan 2011 21:12:52 +0000 (+0200) Subject: Tried to fix install directory problem on linux... Let's hope this doesn't blow it... X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=affa8f80ad4eec654dba31868612493d98f403e3;p=zefram%2Fminetest%2Fminetest_engine.git Tried to fix install directory problem on linux... Let's hope this doesn't blow it all. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index dc9d98b3..0dc4728d 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}")