CMakeLists.txt (root_v6.26.08.source) | : | CMakeLists.txt (root_v6.26.10.source) | ||
---|---|---|---|---|
skipping to change at line 182 | skipping to change at line 182 | |||
endif() | endif() | |||
foreach(sym ${cling_exports}) | foreach(sym ${cling_exports}) | |||
set(cling_link_str "${cling_link_str} /EXPORT:${sym}") | set(cling_link_str "${cling_link_str} /EXPORT:${sym}") | |||
endforeach(sym ${cling_exports}) | endforeach(sym ${cling_exports}) | |||
set_property(TARGET Cling APPEND_STRING PROPERTY LINK_FLAGS "${cling_link_str} ${CLAD_LIBS}") | set_property(TARGET Cling APPEND_STRING PROPERTY LINK_FLAGS "${cling_link_str} ${CLAD_LIBS}") | |||
add_dependencies(Cling Core RIO) | add_dependencies(Cling Core RIO) | |||
target_link_libraries(Cling PUBLIC Core RIO) | target_link_libraries(Cling PUBLIC Core RIO) | |||
endif() | endif() | |||
if(APPLE) | if(APPLE) | |||
target_link_libraries(Cling PUBLIC -Wl,-bind_at_load -Wl,-undefined -Wl,dynami c_lookup) | target_link_libraries(Cling PUBLIC -Wl,-bind_at_load -Wl,-flat_namespace -Wl,- undefined -Wl,suppress) | |||
elseif(NOT MSVC) | elseif(NOT MSVC) | |||
target_link_libraries(Cling PUBLIC -Wl,--unresolved-symbols=ignore-in-object-f iles) | target_link_libraries(Cling PUBLIC -Wl,--unresolved-symbols=ignore-in-object-f iles) | |||
endif() | endif() | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |