X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=CMakeLists.txt;h=e03152731f44d0667917bca7baee5e145ac29695;hb=56b2bf3a1a742971a5de7ced1b57024424fc78b8;hp=57480248292675a9c089712ecadf3a2a40486dfe;hpb=2c8d0b871a3afe6f00e7190a770162abd7a304e8;p=quassel.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 57480248..e0315273 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,13 +70,27 @@ else() 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)