monitor: disable monitoring by default
[src/app-framework-binder.git] / CMakeLists.txt
index eb2d2d1..3d7e1d0 100644 (file)
@@ -114,9 +114,8 @@ SET(binding_install_dir ${CMAKE_INSTALL_FULL_LIBDIR}/afb)
 
 ###########################################################################
 # activates the monitoring by default
-set(INCLUDE_MONITORING ON CACHE BOOL "Activates installation of monitoring")
 if(INCLUDE_MONITORING)
-       add_definitions(-DWITH_MONITORING_OTPION)
+       add_definitions(-DWITH_MONITORING_OPTION)
        INSTALL(DIRECTORY
                ${CMAKE_CURRENT_SOURCE_DIR}/test/monitoring
                DESTINATION