Skip to content
Snippets Groups Projects
Unverified Commit 422eb3ce authored by Lars Bilke's avatar Lars Bilke
Browse files

Force load python libs.

parent 01f9aaa6
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,9 @@ target_link_libraries( ...@@ -64,6 +64,9 @@ target_link_libraries(
$<$<TARGET_EXISTS:petsc>:petsc> $<$<TARGET_EXISTS:petsc>:petsc>
tclap tclap
) )
if(APPLE)
target_link_libraries(ogs PRIVATE "-Wl,-force_load,${Python_LIBRARIES}")
endif()
# ---- Tests ---- # ---- Tests ----
add_test(NAME ogs_no_args COMMAND ogs) add_test(NAME ogs_no_args COMMAND ogs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment