Skip to content
Snippets Groups Projects
Verified Commit 920f0e36 authored by Alberto Miranda's avatar Alberto Miranda :hotsprings:
Browse files

Don't try to build against missing Mercury components

parent 323885d1
No related branches found
No related tags found
1 merge request!47Resolve "Build fails with current Mercury `HEAD`"
Pipeline #3169 passed
......@@ -115,6 +115,11 @@ macro(_mercury_find_component _component_name)
PATHS ${PC_MERCURY_LIBRARY_DIRS}
)
if(NOT ${_upper_component}_LIBRARY_RELEASE AND
NOT ${_upper_component}_LIBRARY_DEBUG)
return()
endif ()
# initialize ${_upper_component}_LIBRARY (e.g. NA_LIBRARY)
# with the appropriate library for this build configuration
select_library_configurations(${_upper_component})
......
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