Enable PIC for static lib
Otherwise it doesn't link
This commit is contained in:
parent
e9063d168d
commit
d1d3e47eab
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ geninterface(${PROJECT_SOURCE_DIR}/plugins/clipboard/clipboardplugin.h devicecli
|
|||
|
||||
if ("${QT_MAJOR_VERSION}" STREQUAL "6")
|
||||
add_library(kdeconnectinterfaces STATIC)
|
||||
set_property(TARGET kdeconnectinterfaces PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
else()
|
||||
add_library(kdeconnectinterfaces)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue