QTfrontend/CMakeLists.txt
changeset 266 53f46353d029
parent 265 bd06dcfa5bff
child 267 bf7c1503f569
--- a/QTfrontend/CMakeLists.txt	Thu Nov 23 21:03:11 2006 +0000
+++ b/QTfrontend/CMakeLists.txt	Thu Nov 23 21:33:22 2006 +0000
@@ -8,11 +8,11 @@
 	set(HEDGEWARS_BINDIR ".")
 else(WIN32 AND NOT UNIX)
 	set(HEDGEWARS_BINDIR ${CMAKE_INSTALL_PREFIX})
-	if(DEFINED ${DATA_INSTALL_DIR})
+	if(DEFINED DATA_INSTALL_DIR)
 		set(HEDGEWARS_DATADIR ${DATA_INSTALL_DIR})
-	else(DEFINED ${DATA_INSTALL_DIR})
+	else(DEFINED DATA_INSTALL_DIR)
 		set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/share/)
-	endif(DEFINED ${DATA_INSTALL_DIR})
+	endif(DEFINED DATA_INSTALL_DIR)
 endif(WIN32 AND NOT UNIX)
 
 configure_file(${hedgewars_SOURCE_DIR}/QTfrontend/main.cpp.in