add_feature_info(WITH_KDE WITH_KDE "Integrate with the KDE Frameworks runtime environment")
endif()
-cmake_dependent_option(WITH_OXYGEN "Install Oxygen icon set (usually shipped with KDE)" ON "NOT WITH_KDE" OFF)
+cmake_dependent_option(WITH_BREEZE "Install Breeze icon theme (usually shipped with KDE)" ON "NOT WITH_KDE" OFF)
+cmake_dependent_option(WITH_BREEZE_DARK "Install Dark Breeze icon theme (usually shipped with KDE)" OFF "NOT WITH_KDE" OFF)
+cmake_dependent_option(WITH_OXYGEN "Install Oxygen icon theme (usually shipped with KDE)" OFF "NOT WITH_KDE" OFF)
if (NOT WITH_KDE)
- add_feature_info(WITH_OXYGEN WITH_OXYGEN "Install Oxygen icon set")
+ add_feature_info(WITH_BREEZE WITH_BREEZE "Install Breeze icon theme")
+ add_feature_info(WITH_BREEZE_DARK WITH_BREEZE_DARK "Install Dark Breeze icon theme")
+ add_feature_info(WITH_OXYGEN WITH_OXYGEN "Install Oxygen icon theme")
+endif()
+
+if (WITH_OXYGEN)
+ add_definitions(-DWITH_OXYGEN)
+endif()
+if (WITH_BREEZE)
+ add_definitions(-DWITH_BREEZE)
+endif()
+if (WITH_BREEZE_DARK)
+ add_definitions(-DWITH_BREEZE_DARK)
endif()
# For this, the feature info is added after we know if QtWebkit is installed
-option(WITH_WEBKIT "WebKit support (for link previews) (legacy)" ON)
+option(WITH_WEBKIT "WebKit support (for link previews) (legacy)" OFF)
# For this, the feature info is added after we know if QtWebEngine is installed
option(WITH_WEBENGINE "WebEngine support (for link previews)" ON)
option(WITH_NOTIFICATION_CENTER "OS X Notification Center support" ON)
add_feature_info(WITH_NOTIFICATION_CENTER WITH_NOTIFICATION_CENTER "Use the OS X Notification Center")
endif()
+ find_library(CARBON_LIBRARY Carbon)
+ mark_as_advanced(CARBON_LIBRARY)
+ link_libraries(${CARBON_LIBRARY})
endif()
# Always embed on Windows, OSX or for a static build; never embed when enabling KDE integration