Commit 015f71d3 authored by Laurent Montel's avatar Laurent Montel 😁

GIT_SILENT: Fix typo

parent 7f33a350
Pipeline #44206 skipped
......@@ -61,14 +61,14 @@ add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054E00)
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()
......
......@@ -13,7 +13,7 @@ ecm_qt_declare_logging_category(ksmtp_SRCS HEADER ksmtp_debug.h
)
add_library(KPimSMTP ${ksmtp_SRCS})
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(KPimSMTP PROPERTIES UNITY_BUILD ON)
endif()
generate_export_header(KPimSMTP BASE_NAME ksmtp)
......
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