Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit f337f6d

Browse files
adrpoOpenModelica-Hudson
authored andcommitted
[OMSI] link with expat on non Windows
Belonging to [master]: - #3004
1 parent 9c7d828 commit f337f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SimulationRuntime/OMSI/base/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ include_directories ("${OMSI_SOURCE_DIR}/solver/include")
3232
IF(WIN32)
3333
target_link_libraries(${OSUBaseName} ${OMSISolverName} ${CMAKE_DL_LIBS} wsock32 ws2_32 ${expat_lib})
3434
ELSE(WIN32)
35-
target_link_libraries(${OSUBaseName} ${OMSISolverName} ${CMAKE_DL_LIBS} )
35+
target_link_libraries(${OSUBaseName} ${OMSISolverName} ${CMAKE_DL_LIBS} ${expat_lib})
3636
ENDIF(WIN32)
3737

3838
install(TARGETS ${OSUBaseName} DESTINATION ${LIBINSTALLEXT})

0 commit comments

Comments
 (0)