[Release] wrt-installer_0.1.58
[framework/web/wrt-installer.git] / CMakeLists.txt
index a548f68..b3933c5 100644 (file)
@@ -69,7 +69,7 @@ IF(CSP_SUPPORT)
 ENDIF(CSP_SUPPORT)
 IF(ALLOW_NAVIGATION_SUPPORT)
     ADD_DEFINITIONS("-DALLOW_NAVIGATION_ENABLED")
-ENDIF(CSP_SUPPORT)
+ENDIF(ALLOW_NAVIGATION_SUPPORT)
 
 # If supported for the target machine, emit position-independent code,suitable
 # for dynamic linking and avoiding any limit on the size of the global offset
@@ -88,7 +88,7 @@ ADD_DEFINITIONS("-Wextra")              # Generate even more extra warnings
 ADD_DEFINITIONS("-Wno-variadic-macros") # Inhibit variadic macros warnings (needed for ORM)
 ADD_DEFINITIONS("-Wno-deprecated")      # No warnings about deprecated features
 ADD_DEFINITIONS("-std=c++0x")           # accept C++11x standard
-#ADD_DEFINITIONS("-DWRT_SMACK_ENABLED")
+ADD_DEFINITIONS("-DWRT_SMACK_ENABLED")  # enable smack
 
 ############################# Targets names ###################################