Commit 09c0991a authored by Laurent Montel's avatar Laurent Montel 😁

GIT_SILENT: Fix typo

parent dc7e80d1
Pipeline #44213 skipped
......@@ -120,14 +120,14 @@ if(BUILD_TESTING)
add_definitions(-DBUILD_TESTING)
endif()
#Laurent: disable for the moment
#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()
add_subdirectory(noteshared)
......
......@@ -21,7 +21,7 @@ ecm_qt_declare_logging_category(notesagent_SRCS HEADER notesagent_debug.h IDENTI
)
add_executable(akonadi_notes_agent ${notesagent_SRCS})
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(akonadi_notes_agent PROPERTIES UNITY_BUILD ON)
endif()
target_link_libraries(akonadi_notes_agent
......
......@@ -61,7 +61,7 @@ kconfig_add_kcfg_files(libnoteshared_kcfg_lib_SRCS ${libnoteshared_kcfg_lib_SRCS
add_library(notesharedprivate ${libnoteshared_SRCS} ${libnoteshared_kcfg_lib_SRCS} )
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(notesharedprivate PROPERTIES UNITY_BUILD ON)
endif()
......
......@@ -53,7 +53,7 @@ ecm_qt_declare_logging_category(libknotesprivate_lib_SRCS HEADER knotes_debug.h
)
add_library(knotesprivate ${libknotesprivate_lib_SRCS} ${libknotesprivate_kcfg_lib_SRCS} )
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(knotesprivate PROPERTIES UNITY_BUILD ON)
endif()
......@@ -94,7 +94,7 @@ file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-knotes.png")
ecm_add_app_icon(knotes_SRCS ICONS ${ICONS_SRCS})
add_executable(knotes ${knotes_SRCS})
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(knotes PROPERTIES UNITY_BUILD ON)
endif()
......
......@@ -25,7 +25,7 @@ ecm_qt_declare_logging_category(kontact_knotesplugin_PART_SRCS HEADER knotes_kon
add_library(kontact_knotesplugin MODULE ${kontact_knotesplugin_PART_SRCS} ${kontact_knotesplugin_interface_SRCS} )
if (COMPILE_WITH_CMAKE_SUPPORT)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(kontact_knotesplugin PROPERTIES UNITY_BUILD ON)
endif()
target_link_libraries(kontact_knotesplugin
......
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