Skip to content

Commit

Permalink
Try fixing apple build
Browse files Browse the repository at this point in the history
  • Loading branch information
subhacom committed Jun 20, 2024
1 parent e3d6607 commit b8eb0ba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,6 @@ if(APPLE)
"-Wl,-all_load"
${MOOSE_LIBRARIES}
${STATIC_LIBRARIES}
)

target_link_libraries(libmoose
${SYSTEM_SHARED_LIBS}
${CMAKE_DL_LIBS}
)
Expand All @@ -351,7 +348,7 @@ elseif(MSVC)
${STATIC_LIBRARIES}
${SYSTEM_SHARED_LIBS}
)
else(APPLE)
else(MSVC)
target_link_libraries(libmoose
"-Wl,--whole-archive"
${MOOSE_LIBRARIES}
Expand Down

0 comments on commit b8eb0ba

Please sign in to comment.