2 Commits

Author SHA1 Message Date
ruinivist 2ffbd4e608 fix: include cppbridge library in package build output
Configure CMake to output `libcppbridgeplugin.so` to the package directory and set `$ORIGIN` runtime path so that it is properly bundled and resolved when distributed as a .plasmoid zip archive.
2026-05-30 22:14:25 +00:00
ruinivist 09a0252386 fix: include cppbridge library in package build output
Configure CMake to output `libcppbridgeplugin.so` to the package directory and set `$ORIGIN` runtime path so that it is properly bundled and resolved when distributed as a .plasmoid zip archive.
2026-05-30 20:57:01 +00:00
+9
View File
@@ -36,4 +36,13 @@ target_link_libraries(cppbridgeplugin PRIVATE
set_target_properties(cppbridgeplugin PROPERTIES
CXX_STANDARD 20
CXX_STANDARD_REQUIRED ON
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/../package/contents/ui/cppbridge"
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/../package/contents/ui/cppbridge"
BUILD_WITH_INSTALL_RPATH TRUE
INSTALL_RPATH "$ORIGIN"
)
set_target_properties(cppbridgepluginplugin PROPERTIES
BUILD_WITH_INSTALL_RPATH TRUE
INSTALL_RPATH "$ORIGIN"
)