Commit 35c64fc2 authored by Christophe Giboudeaux's avatar Christophe Giboudeaux
Browse files

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 2faa9de7.
parent 6848651c
......@@ -62,7 +62,6 @@ if (WIN32)
set(akonadiprivate_buildsources ${akonadiprivate_SRCS})
add_library(akonadiprivate_obj OBJECT ${akonadiprivate_SRCS})
target_link_libraries(akonadiprivate_obj ${akonadiprivate_LIBS})
set_target_properties(akonadiprivate_obj PROPERTIES POSITION_INDEPENDENT_CODE 1)
add_dependencies(akonadiprivate_obj generate_protocol)
Supports Markdown
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