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()