From affa8f80ad4eec654dba31868612493d98f403e3 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 18 Jan 2011 23:12:52 +0200 Subject: [PATCH] Tried to fix install directory problem on linux... Let's hope this doesn't blow it all. --- CMakeLists.txt | 7 ++++--- 1 file 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}") -- 2.25.1