CMakeLists.txt (root_v6.26.08.source) | : | CMakeLists.txt (root_v6.26.10.source) | ||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
#------------------------------------------------------------------------------- | #------------------------------------------------------------------------------- | |||
add_cling_library(clingDemoPlugin SHARED DemoPlugin.cpp) | add_cling_library(clingDemoPlugin SHARED DemoPlugin.cpp) | |||
if (TARGET check-cling) | if (TARGET check-cling) | |||
# Make sure if we are running the testsuite to build clingDemoPlugin before. | # Make sure if we are running the testsuite to build clingDemoPlugin before. | |||
add_dependencies(check-cling clingDemoPlugin) | add_dependencies(check-cling clingDemoPlugin) | |||
endif() | endif() | |||
set_target_properties(clingDemoPlugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ".") | set_target_properties(clingDemoPlugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ".") | |||
if(APPLE) | if(APPLE) | |||
target_link_libraries(clingDemoPlugin PUBLIC -Wl,-bind_at_load -Wl,-undefined -Wl,dynamic_lookup) | target_link_libraries(clingDemoPlugin PUBLIC -Wl,-bind_at_load -Wl,-flat_names pace -Wl,-undefined -Wl,suppress) | |||
elseif(NOT MSVC) | elseif(NOT MSVC) | |||
target_link_libraries(clingDemoPlugin PUBLIC -Wl,--unresolved-symbols=ignore-i n-object-files) | target_link_libraries(clingDemoPlugin PUBLIC -Wl,--unresolved-symbols=ignore-i n-object-files) | |||
endif() | endif() | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |