Link against the qtforkawesomeiconengine plugin when it is a static library
This should fix the AppImage build where my own libraries (including plugins) are built as static libraries but static linkage is not generally enabled.
This commit is contained in:
parent
4801afebf5
commit
cf99b656f0
|
@ -111,11 +111,11 @@ use_syncthingmodel()
|
|||
find_package(syncthingwidgets ${META_APP_VERSION} REQUIRED)
|
||||
use_syncthingwidgets()
|
||||
|
||||
# link against the qtforkawesomeiconengine plugin when static linkage is enabled
|
||||
# link against the qtforkawesomeiconengine plugin when it is a static library
|
||||
include(3rdParty)
|
||||
if (STATIC_LINKAGE)
|
||||
find_package(${PACKAGE_NAMESPACE_PREFIX}qtforkawesomeiconengine${CONFIGURATION_PACKAGE_SUFFIX_QTFORKAWESOME} 0.0.1
|
||||
REQUIRED)
|
||||
find_package(${PACKAGE_NAMESPACE_PREFIX}qtforkawesomeiconengine${CONFIGURATION_PACKAGE_SUFFIX_QTFORKAWESOME} 0.0.1
|
||||
REQUIRED)
|
||||
if (NOT QT_FORK_AWESOME_ICON_ENGINE_LIB_IS_SHARED)
|
||||
use_qt_fork_awesome_icon_engine()
|
||||
endif ()
|
||||
|
||||
|
|
Loading…
Reference in New Issue