aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0f248d13..da820dcc1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,15 +45,18 @@ if(WIN32)
set(DATADIR "data")
set(BINDIR "bin")
set(DOCDIR "doc")
+ set(EXAMPLE_CONF_DIR ".")
elseif(APPLE)
# random placeholders
set(DATADIR "share/minetest")
set(BINDIR "bin")
set(DOCDIR "share/doc/minetest")
-elseif(UNIX)
+ set(EXAMPLE_CONF_DIR ".")
+elseif(UNIX) # Linux, BSD etc
set(DATADIR "usr/share/minetest")
set(BINDIR "usr/bin")
set(DOCDIR "usr/share/doc/minetest")
+ set(EXAMPLE_CONF_DIR "usr/share/doc/minetest")
endif()
install(FILES "doc/README.txt" DESTINATION "${DOCDIR}")