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

Use from another cmake project #56

Closed
gege-fr opened this issue Aug 18, 2019 · 1 comment
Closed

Use from another cmake project #56

gege-fr opened this issue Aug 18, 2019 · 1 comment

Comments

@gege-fr
Copy link

gege-fr commented Aug 18, 2019

What's the best way to use your library from another cmake project ?

I'm a beginner at cpp, but from what i understood of cmake, shouldn't I be able to find either a FindAVCPP.cmake or AVCPPConfig.cmake file ?

Thanks.

@h4tr3d
Copy link
Owner

h4tr3d commented Dec 28, 2019

Sorry for delay.

Currently, it is only designed to be used as subproject:

add_subdirectory(avcpp)
...
target_link_libraries(your_target AvCpp::AvCpp)

But, any scripts like FindAvCpp.cmake or so on is welcomed ;-)

@h4tr3d h4tr3d closed this as completed Dec 28, 2019
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

No branches or pull requests

2 participants