Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 857447c1 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

chameleon: out_of_core example, add -undefined dynamic_lookup for macosx

parent 74b94900
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,9 @@ foreach(_ooc ${OOC_SOURCES})
get_filename_component(_name_exe ${_ooc} NAME_WE)
add_executable(${_name_exe} ${_ooc})
set_property(TARGET ${_name_exe} PROPERTY LINKER_LANGUAGE Fortran)
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -undefined dynamic_lookup" )
endif()
target_link_libraries(${_name_exe} ${libs_for_ooc})
install(TARGETS ${_name_exe}
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/chameleon/example/out_of_core)
......
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