Commit 5abef859 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Fix typo

parent 2f5fed25
Pipeline #44195 skipped
......@@ -42,14 +42,14 @@ add_definitions(-DQT_NO_FOREACH)
add_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
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()
########### Targets ###########
......
......@@ -11,7 +11,7 @@ ecm_qt_declare_logging_category(kmbox_SRCS HEADER kmbox_debug.h IDENTIFIER KMBOX
add_library(KF5Mbox ${kmbox_SRCS})
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(KF5Mbox 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