Commit 8dddf7fc authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Merge branch 'amiranda/65-build-fails-with-current-mercury-head' into 'main'

Resolve "Build fails with current Mercury `HEAD`"

Closes #65

See merge request !47
parents 323885d1 920f0e36
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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})