Commit f8f00bb4 authored by Laurent Montel's avatar Laurent Montel 😁

GIT_SILENT: Fix typo

parent ff469fb3
Pipeline #44190 skipped
......@@ -65,14 +65,14 @@ find_package(KF5GrantleeTheme ${GRANTLEETHEME_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Purpose ${KF5_MIN_VERSION} CONFIG REQUIRED)
option(USE_UNIFY_CMAKE_SUPPORT "Use UNIFY cmake support (speedup compile time)" FALSE)
option(USE_UNITY_CMAKE_SUPPORT "Use UNITY cmake support (speedup compile time)" FALSE)
set(COMPILE_WITH_CMAKE_SUPPORT false)
if (USE_UNIFY_CMAKE_SUPPORT)
set(COMPILE_WITH_UNITY_CMAKE_SUPPORT false)
if (USE_UNITY_CMAKE_SUPPORT)
if(${CMAKE_VERSION} VERSION_LESS "3.16.0")
message(STATUS "CMAKE version is less than 3.16.0 . We can't use cmake unify build support")
else()
set(COMPILE_WITH_CMAKE_SUPPORT true)
set(COMPILE_WITH_UNITY_CMAKE_SUPPORT true)
endif()
endif()
......
......@@ -165,7 +165,7 @@ kconfig_add_kcfg_files(libpimcommon_SRCS
)
add_library(KF5PimCommon ${libpimcommon_SRCS})
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(KF5PimCommon PROPERTIES UNITY_BUILD ON)
endif()
generate_export_header(KF5PimCommon BASE_NAME pimcommon)
......
......@@ -140,7 +140,7 @@ ecm_qt_declare_logging_category(libpimcommonakonadi_SRCS HEADER pimcommonakonadi
add_library(KF5PimCommonAkonadi ${libpimcommonakonadi_SRCS})
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(KF5PimCommonAkonadi PROPERTIES UNITY_BUILD ON)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment