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

make the dll_copy generated file a PRIVATE target_source #181

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

miguelibero
Copy link

Hi, thanks for the excellent library! I tried to use it in my project with FetchContent but got an error when installing saying that the dll_copy target source is inside the binary dir. By changing it to PRIVATE it seems to work, but I'm no CMake expert so maybe this solution has other effects, but I couldn't find any. I think it's better explained here.

@guillaumeblanc guillaumeblanc changed the base branch from master to develop August 5, 2024 11:25
@guillaumeblanc
Copy link
Owner

guillaumeblanc commented Aug 5, 2024

Thanks for the PR!

Did you manage to test the fix?

I'm not used to FindContent. Can you see a way to implement a test? Maybe inspired by the existing test that ensure ozz can be used as a sub/external project?

Cheers,
Guillaume

@miguelibero
Copy link
Author

Can you see a way to implement a test? Maybe inspired by the existing test that ensure ozz can be used as a sub/external project?

great, I didn't know you had tests for CMake cases, I should be able to add one for FetchContent, yes.

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