Skip to content

Commit

Permalink
Fix static linking against Boost
Browse files Browse the repository at this point in the history
Add missing `include(3rdParty)`
  • Loading branch information
Martchus committed Feb 1, 2025
1 parent b397bd6 commit bd4cbd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions plasmoid/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ find_package(syncthingwidgets ${META_APP_VERSION} REQUIRED)
use_syncthingwidgets()

# link also explicitly against the following Qt modules
include(3rdParty)
list(APPEND ADDITIONAL_QT_MODULES Network Qml)
if (KF_MAJOR_VERSION GREATER_EQUAL 6)
set(Config_MODULE_TARGETS ${KF_PACKAGE_PREFIX}::ConfigCore)
Expand Down
1 change: 1 addition & 0 deletions syncthingconnector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ find_package(${PACKAGE_NAMESPACE_PREFIX}qtutilities${CONFIGURATION_PACKAGE_SUFFI
use_qt_utilities(ONLY_HEADERS VISIBILITY PUBLIC)

# find boost libraries
include(3rdParty)
option(USE_BOOST_PROCESS "enables Boost.Process for improved behavior of the launcher" ON)
if (USE_BOOST_PROCESS)
option(BOOST_STATIC_LINKAGE "${STATIC_LINKAGE}" "link statically against Boost (instead of dynamically)")
Expand Down

0 comments on commit bd4cbd1

Please sign in to comment.