CMakeLists.txt
changeset 266 53f46353d029
parent 265 bd06dcfa5bff
child 268 88809d92e504
--- a/CMakeLists.txt	Thu Nov 23 21:03:11 2006 +0000
+++ b/CMakeLists.txt	Thu Nov 23 21:33:22 2006 +0000
@@ -2,11 +2,11 @@
 
 cmake_minimum_required(VERSION 2.4.0)
 
-if(DEFINED ${DATA_INSTALL_DIR})
+if(DEFINED DATA_INSTALL_DIR)
 	set(SHAREPATH ${DATA_INSTALL_DIR}/hedgewars/)
-else(DEFINED ${DATA_INSTALL_DIR})
+else(DEFINED DATA_INSTALL_DIR)
 	set(SHAREPATH share/hedgewars/)
-endif(DEFINED ${DATA_INSTALL_DIR})
+endif(DEFINED DATA_INSTALL_DIR)
 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
 
 add_subdirectory(bin)