Author: tkreuzer
Date: Sat Oct 9 16:25:03 2010
New Revision: 49077
URL:
http://svn.reactos.org/svn/reactos?rev=49077&view=rev
Log:
[CMAKE] Fix option checking
Modified:
branches/cmake-bringup/CMakeLists.txt
Modified: branches/cmake-bringup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeLists.txt?re…
==============================================================================
--- branches/cmake-bringup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeLists.txt [iso-8859-1] Sat Oct 9 16:25:03 2010
@@ -58,13 +58,13 @@
add_definitions(-DDBG=${DBG} -DKDBG=${KDBG})
-if(DBG MATCHES 1)
+if(DBG)
add_definitions(-D_SEH_ENABLE_TRACE)
-endif(DBG MATCHES 1)
+endif(DBG)
-if((DBG MATCHES 1) OR (KDBG MATCHES 1))
+if(DBG OR KDBG)
set(DBG_OR_KDBG true)
-endif((DBG MATCHES 1) OR (KDBG MATCHES 1))
+endif(DBG OR KDBG)
# Version Options
add_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502
-D_WIN32_WINDOWS=0x502 -D_SETUPAPI_VER=0x502)