-if(QUASSEL_ICONS MATCHES "Builtin")
- set(CLIENT_DEPS ${CLIENT_DEPS} ../icons/qrc_hicolor.cxx)
- set_source_files_properties(../icons/qrc_hicolor.cxx PROPERTIES GENERATED true)
-endif(QUASSEL_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()