summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d8e9f865..b39ddc7e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,8 +26,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
# where to look for cmake modules
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake/Modules)
-include(GNUInstallDirs)
-
find_package(Gettext)
option(WITH_OPENGL "Enable OpenGL support" ON)
@@ -44,9 +42,11 @@ elseif(APPLE)
set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}/Resources")
set(CMAKE_INSTALL_LOCALEDIR "${CMAKE_INSTALL_DATADIR}/Translations")
else()
- set(CMAKE_INSTALL_DATADIR ${CMAKE_INSTALL_DATAROOTDIR}/mana)
+ set(CMAKE_INSTALL_DATADIR "share/mana")
endif()
+include(GNUInstallDirs)
+
add_subdirectory(data)
if(ENABLE_MANASERV)