#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
-IF(USE_KW)
+IF(USE_KWWIDGETS)
IF(NOT KWWidgets_FOUND)
# Search KWWidgets
FIND_PACKAGE(KWWidgets)
message(FATAL_ERROR "KWWidgets_DIR not found")
ENDIF(KWWidgets_FOUND)
ENDIF(NOT KWWidgets_FOUND)
-ENDIF(USE_KW)
+ENDIF(USE_KWWIDGETS)
#-----------------------------------------------------------------------------