Skip to content
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

Unify usage hint formatting #1368

Merged
merged 2 commits into from
Mar 25, 2024
Merged

Unify usage hint formatting #1368

merged 2 commits into from
Mar 25, 2024

Conversation

dg0yt
Copy link
Contributor

@dg0yt dg0yt commented Mar 23, 2024

Follow pattern from CMake packages. In particular, indent with append_indent().

Fixes mixed indentation when a port has both CMake and pkg-config (and copied like that into usage files, e.g.):

libosdp provides CMake targets:

  find_package(LibOSDP CONFIG REQUIRED)
  target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:libosdp::osdp>,libosdp::osdp,libosdp::osdpstatic>)

libosdp provides pkg-config modules:

    # Open Supervised Device Protocol (OSDP) Library
    libosdp
 ^^^

@BillyONeal BillyONeal merged commit a40caa5 into microsoft:main Mar 25, 2024
5 checks passed
@BillyONeal
Copy link
Member

Thanks for the fix!

@dg0yt dg0yt deleted the pkgconfig branch March 25, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants