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

[osg-qt]How to import osgQt into project via vcpkg + cmake? #26312

Closed
Dizww opened this issue Aug 12, 2022 · 4 comments
Closed

[osg-qt]How to import osgQt into project via vcpkg + cmake? #26312

Dizww opened this issue Aug 12, 2022 · 4 comments
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support Stale

Comments

@Dizww
Copy link

Dizww commented Aug 12, 2022

openscenegraph/osgQt#57

@Dizww Dizww changed the title How to import osgQt into project via vcpkg + cmake? [osg-qt]How to import osgQt into project via vcpkg + cmake? Aug 12, 2022
@Cheney-W Cheney-W self-assigned this Aug 12, 2022
@Cheney-W Cheney-W added the category:port-bug The issue is with a library, which is something the port should already support label Aug 12, 2022
Copy link

github-actions bot commented Dec 4, 2023

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Dec 4, 2023
@Cheney-W
Copy link
Contributor

Stay active

@Cheney-W Cheney-W removed the Stale label Dec 13, 2023
@Cheney-W
Copy link
Contributor

I think below contents could be used in cmake when the port installed by vcpkg:

find_package(PkgConfig REQUIRED)
pkg_check_modules(osgqt REQUIRED IMPORTED_TARGET openscenegraph-osgQt)
target_link_libraries(main PkgConfig::osgqt)

Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Jun 26, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support Stale
Projects
None yet
Development

No branches or pull requests

2 participants