-if(OXYGEN_ICONS MATCHES "Builtin")
- set(CLIENT_DEPS ${CLIENT_DEPS} ../icons/qrc_oxygen.cxx)
- set_source_files_properties(../icons/qrc_oxygen.cxx PROPERTIES GENERATED true)
-endif(OXYGEN_ICONS MATCHES "Builtin")
+# We need to initialize the appropriate resources, so let's give our main.cpp some hints
+if (EMBED_DATA)
+ add_definitions(-DEMBED_DATA)
+endif()
+if (WITH_OXYGEN)
+ add_definitions(-DWITH_OXYGEN)
+endif()
+
+# Needed for showing the cli option if appropriate
+if (HAVE_SYSLOG)
+ add_definitions(-DHAVE_SYSLOG)
+endif()