forked from pool/akonadi-server
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From 35c64fc2244821297d512fb5ff15cd342d5150f7 Mon Sep 17 00:00:00 2001
|
|
From: Christophe Giboudeaux <christophe@krop.fr>
|
|
Date: Mon, 23 Nov 2020 08:29:34 +0100
|
|
Subject: [PATCH 1/3] Revert "Fix building akonadiprivate_obj with out of
|
|
system lzma libs on macOS"
|
|
|
|
Using target_link_libraries with 'OBJECT' libraries breaks the build with older
|
|
CMake versions.
|
|
|
|
This reverts commit 2faa9de706d250be62689a4efebe8a143d6da47c.
|
|
---
|
|
src/private/CMakeLists.txt | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/src/private/CMakeLists.txt b/src/private/CMakeLists.txt
|
|
index 14eba9da5..1e40a1d61 100644
|
|
--- a/src/private/CMakeLists.txt
|
|
+++ b/src/private/CMakeLists.txt
|
|
@@ -62,7 +62,6 @@ if (WIN32)
|
|
set(akonadiprivate_buildsources ${akonadiprivate_SRCS})
|
|
else()
|
|
add_library(akonadiprivate_obj OBJECT ${akonadiprivate_SRCS})
|
|
- target_link_libraries(akonadiprivate_obj ${akonadiprivate_LIBS})
|
|
update_include_directories(akonadiprivate_obj)
|
|
set_target_properties(akonadiprivate_obj PROPERTIES POSITION_INDEPENDENT_CODE 1)
|
|
add_dependencies(akonadiprivate_obj generate_protocol)
|
|
--
|
|
2.29.2
|
|
|