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

Allow to build korganizer_core with unity

parent 610c0c60
Pipeline #51364 passed with stage
in 17 minutes and 49 seconds
......@@ -142,7 +142,9 @@ kconfig_add_kcfg_files(korganizer_core_LIB_SRCS settings/koprefs_base.kcfgc)
add_library(korganizer_core ${korganizer_core_LIB_SRCS})
generate_export_header(korganizer_core BASE_NAME korganizer_core)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(korganizer_core PROPERTIES UNITY_BUILD ON)
endif()
target_link_libraries(korganizer_core
PUBLIC
korganizer_interfaces
......
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