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

GIT_SILENT: Fix typo

parent 9d9e0957
Pipeline #44201 skipped
......@@ -61,14 +61,14 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX EVENTVIEWS
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5EventViewsConfigVersion.cmake"
SOVERSION 5
)
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()
......
......@@ -80,7 +80,7 @@ ki18n_wrap_ui(eventviews_LIB_SRCS
)
add_library(KF5EventViews ${eventviews_LIB_SRCS})
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(KF5EventViews PROPERTIES UNITY_BUILD ON)
endif()
generate_export_header(KF5EventViews BASE_NAME eventviews)
......
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