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

Example of cmake project #464

Open
magres opened this issue Aug 19, 2021 · 4 comments
Open

Example of cmake project #464

magres opened this issue Aug 19, 2021 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@magres
Copy link

magres commented Aug 19, 2021

I tried

find_package (Coin REQUIRED)
target_link_libraries(cointest PRIVATE ${Coin_LIBRARIES})

with -DCoin_DIR=C:/Coin3D/lib/cmake/Coin-4.0.1
and no success.

@VolkerEnderlein
Copy link
Collaborator

VolkerEnderlein commented Aug 20, 2021

Adding -DCMAKE_PREFIX_PATH=C:/Coin3D to your command line would be more appropriate. See section GUI toolkits in BuildWithCMake documentation in the Wiki.

@magres
Copy link
Author

magres commented Aug 23, 2021

I got the working helloworld example. I could pull request if you want.

@VolkerEnderlein
Copy link
Collaborator

Sure, creating a pull reuest would be nice.

@magres
Copy link
Author

magres commented Aug 23, 2021

Sure, creating a pull reuest would be nice.
here you are.
#465

@VolkerEnderlein VolkerEnderlein added the documentation Improvements or additions to documentation label Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants