aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-18 16:30:02 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-18 16:30:02 +0200
commitb409803527eedaa849f3f0520ec62735ef9e2b1d (patch)
tree099bdc40bfcbe0ea277c784da3118ca94d8860a4 /src
parent99d257ae8b8883f958381dc13d3017cdb2570eb0 (diff)
downloadminetest-b409803527eedaa849f3f0520ec62735ef9e2b1d.tar.gz
minetest-b409803527eedaa849f3f0520ec62735ef9e2b1d.tar.bz2
minetest-b409803527eedaa849f3f0520ec62735ef9e2b1d.zip
Fix installation in cmake project files
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d3d9d64dc..448f2f6b8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -310,18 +310,10 @@ endif()
# Installation
#
-# Example configuration file
-# NOTE: Install is handled elsewhere
-#install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../minetest.conf.example" DESTINATION ${EXAMPLE_CONF_DIR})
-
if(BUILD_CLIENT)
install(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
- #file(GLOB images "${CMAKE_CURRENT_SOURCE_DIR}/../data/textures/*.png")
- #install(FILES ${images} DESTINATION ${DATADIR}/textures)
- #file(GLOB datasubstuff "${CMAKE_CURRENT_SOURCE_DIR}/../data/*")
- #install(DIRECTORY "${datasubstuff}" DESTINATION ${DATADIR})
- install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../data/" DESTINATION ${DATADIR})
+ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../share/" DESTINATION ${SHAREDIR})
if(USE_GETTEXT)
foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})