Skip to content

Commit

Permalink
Fix a plugin loader runtime failure (#2061)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
luis-pereira authored May 7, 2024
1 parent 05f04fa commit a49e814
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions panel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ target_link_libraries(${PROJECT}
${STATIC_PLUGINS}
)

set_property(TARGET ${PROJECT} PROPERTY ENABLE_EXPORTS TRUE)

install(TARGETS ${PROJECT} RUNTIME DESTINATION bin)
install(FILES ${CONFIG_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/lxqt)
install(FILES ${PUB_HEADERS} DESTINATION include/lxqt)
Expand Down

0 comments on commit a49e814

Please sign in to comment.