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

Fix assimp finding on Windows debug build #650

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

jorisv
Copy link
Contributor

@jorisv jorisv commented Jan 12, 2024

The Findassimp.cmake script find assimp release when building a Windows Debug binary.

To fix this, we run find_package to execute the system or package manager assimpConfig.cmake file first.
If the Config.cmake doesn't exists, we run the custom finder.

Unfortunately, assimpConfig.cmake on Ubuntu 20.04 generate a flawed assimp::assimp target
If the defect is detected, we fix manually the assimp::assimp target.

@jorisv jorisv requested a review from jcarpent January 12, 2024 14:55
@jorisv jorisv self-assigned this Jan 12, 2024
@jcarpent jcarpent merged commit 19f76bb into jrl-umi3218:master Jan 12, 2024
2 checks passed
@jorisv jorisv deleted the topic/fix_windows_debug_assimp branch July 23, 2024 12:54
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