Skip to content

Commit f4a46ea

Browse files
committed
- work around link order issue on ubuntu with mml
1 parent 0eba99c commit f4a46ea

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

copasi/CopasiUI/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ endif()
8181
add_executable(CopasiUI ${COPASI_UI_FLAGS} ${SOURCES} ${HEADERS} ${RESOURCES})
8282
target_link_libraries(CopasiUI libCOPASIUI)
8383

84+
# workaround link order issues on debian systems
85+
if (UNIX AND ${SELECT_QT} STREQUAL "Qt6" AND MML_LIBRARY)
86+
target_link_libraries(CopasiUI Qt6::Xml ${MML_LIBRARY} Qt6::Xml)
87+
endif()
88+
89+
8490
# now modify the package location for the resource files
8591
if (APPLE)
8692

0 commit comments

Comments
 (0)