git repos / blockattack-game

commit 242996f8

sago007 · 2016-02-06 10:13
242996f8e915a4ccc7e25e8511b9037fd85d8a07 patch · browse files
parent 8c45a7b1f6bfb8bbaeb7fc30c7a7f9bb351fd18b

The sharedir should now work again.

Changed files

M CMakeLists.txt before
diff --git a/CMakeLists.txt b/CMakeLists.txt index adf5f6e..6c0c573 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -25,7 +25,7 @@ if (WIN32)
SET(GUI_TYPE WIN32)
endif()
-if (!WIN32)
+if (NOT WIN32)
#The path to the data dir must be compiled into the binary
add_definitions(-DSHAREDIR=\"${INSTALL_DATA_DIR}\")
endif()