-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump atlas to 0.39.0 #23
base: master
Are you sure you want to change the base?
Conversation
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:${ct_tgt}> ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} | ||
DEPENDS ${ct_tgt} | ||
) | ||
if(NOT TARGET copy_${ct_tgt}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change just allows calling copy_target
multiple times with the same argument.
if(dep MATCHES "eckit.*") | ||
copy_target(${dep}) | ||
endif() | ||
foreach(lib "atlas" "atlas_io") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to copy not only the atlas
, but also atlas_io
targets. Since they share dependencies, I adopted copy_target
to be callable multiple times with the same argument. Without this change eckit_codec
is missing and loading the package fails.
Since the PR changes affect only CMake, I think @havogt is a better fit to review it. |
No description provided.