cmake: Update library and target names for qrcodegen #1169
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
qrcodegen is identified as such (without the "lib" prefix) and as the target "qrcodegencpp::qrcodegencpp" by the CMake package generated by obs-deps and the finders in obs-studio when using module fallback.
Motivation and Context
Want OBS Studio to build in Debug without issues. This is a follow-up to #1167.
How Has This Been Tested?
Tested OS(s):
Tested using the updated finder at cmake: Update Find module for qrcodegen and fix configuration fallbacks on Windows obs-studio#9601 for non-Debug builds to ensure the finder itself still works. The finder shouldn't be invoked on Windows in the end.
Types of changes
Checklist:
master
or arelease/*
branch.