Commit c4d334e9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Fix typo

parent ec08b154
Pipeline #44193 skipped
......@@ -93,14 +93,14 @@ add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054C00)
add_definitions(-DQT_NO_FOREACH)
add_definitions(-DQT_NO_KEYWORDS)
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()
......
......@@ -11,7 +11,7 @@ ecm_qt_declare_logging_category(kontactinterface_LIB_SRCS HEADER kontactinterfac
DESCRIPTION "kontactinterface (pim lib)" EXPORT KONTACTINTERFACE)
add_library(KF5KontactInterface ${kontactinterface_LIB_SRCS})
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(KF5KontactInterface 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