Skip to content

Commit a234fc3

Browse files
committed
Fix a plugin loader runtime failure
The plugins must export the symbols to allow loading by the panel executable. CMAKE_EXECUTABLE_ENABLE_EXPORTS is too new for us. Supersedes #2053. Fixes #2052.
1 parent 05f04fa commit a234fc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

panel/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ target_link_libraries(${PROJECT}
107107
${STATIC_PLUGINS}
108108
)
109109

110+
set_property(TARGET ${PROJECT} PROPERTY ENABLE_EXPORTS TRUE)
111+
110112
install(TARGETS ${PROJECT} RUNTIME DESTINATION bin)
111113
install(FILES ${CONFIG_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/lxqt)
112114
install(FILES ${PUB_HEADERS} DESTINATION include/lxqt)

0 commit comments

Comments
 (0)