QTfrontend/CMakeLists.txt
changeset 8646 e31044b7fbba
parent 8528 ffd71e99a4f0
child 8659 e49056d3aba1
--- a/QTfrontend/CMakeLists.txt	Mon Mar 04 20:16:43 2013 +0400
+++ b/QTfrontend/CMakeLists.txt	Mon Mar 04 18:27:21 2013 +0100
@@ -66,14 +66,6 @@
     include_directories("/usr/local/include")
 endif(UNIX)
 
-#directory for resources, relative to bindir (on linux an absolute path is always used)
-string(SUBSTRING "${SHAREPATH}" 0 1 sharepath_start)
-if(APPLE OR WIN32 OR ${sharepath_start} MATCHES "/")
-    set(HEDGEWARS_DATADIR ${SHAREPATH})
-else()
-    set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/${SHAREPATH})
-endif()
-
 #only the cocoa version of qt supports building 64 bit apps
 if(APPLE AND (CMAKE_OSX_ARCHITECTURES MATCHES "x86_64*") AND (NOT QT_MAC_USE_COCOA))
     message(FATAL_ERROR "Building the 64 bit version of Hedgewars *requires* the Cocoa variant of QT on Mac OS X")