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 FindBasisUniversal search libraries instead of pkgconfig #72

Merged
merged 1 commit into from Nov 6, 2019

Conversation

Squareys
Copy link
Contributor

Hi @mosra !

As promised, here's a version of the FindBasisUniversal that works with vcpkg.
I have a maybe unconventional use of find_package_handle_standard_args in there for setting the BasisUniversal_(Encoder|Transcoder_FOUND vars. It causes output when both are found and I'm interested in your judgment whether that is a good trade-off for the more concise code.

Best,
Jonathan

Copy link
Owner

@mosra mosra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for not replying earlier.

modules/FindBasisUniversal.cmake Outdated Show resolved Hide resolved
modules/FindBasisUniversal.cmake Outdated Show resolved Hide resolved
modules/FindBasisUniversal.cmake Outdated Show resolved Hide resolved
@mosra mosra added this to the 2019.1c milestone Nov 3, 2019
@mosra mosra added this to TODO in Asset management via automation Nov 3, 2019
@Squareys Squareys force-pushed the fix-basis-findmodule branch 2 times, most recently from 2d8e018 to 00fc530 Compare November 6, 2019 14:46
@codecov-io
Copy link

codecov-io commented Nov 6, 2019

Codecov Report

Merging #72 into master will increase coverage by 0.15%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage      91%   91.15%   +0.15%     
==========================================
  Files          53       53              
  Lines        4480     4025     -455     
==========================================
- Hits         4077     3669     -408     
+ Misses        403      356      -47
Impacted Files Coverage Δ
...rc/MagnumPlugins/AssimpImporter/AssimpImporter.cpp 83.33% <0%> (-3.17%) ⬇️
src/Magnum/OpenDdl/Document.h 88.57% <0%> (-0.32%) ⬇️
...lugins/BasisImageConverter/BasisImageConverter.cpp 91% <0%> (-0.09%) ⬇️
src/MagnumPlugins/FreeTypeFont/FreeTypeFont.cpp 98.73% <0%> (-0.07%) ⬇️
src/Magnum/OpenDdl/Structure.h 96.49% <0%> (-0.07%) ⬇️
src/MagnumPlugins/DdsImporter/DdsImporter.cpp 77.95% <0%> (-0.04%) ⬇️
src/MagnumPlugins/OpenGexImporter/openGexSpec.hpp 100% <0%> (ø) ⬆️
.../MagnumPlugins/OpenGexImporter/OpenGexImporter.cpp 96.2% <0%> (+0.48%) ⬆️
...agnumPlugins/StanfordImporter/StanfordImporter.cpp 94.38% <0%> (+0.63%) ⬆️
src/Magnum/OpenDdl/Implementation/Parsers.cpp 88.13% <0%> (+0.66%) ⬆️
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b48f9bd...b0b12ff. Read the comment docs.

Copy link
Owner

@mosra mosra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i feel like i'm repeating myself a bit too much 😅

modules/FindBasisUniversal.cmake Outdated Show resolved Hide resolved
modules/FindBasisUniversal.cmake Outdated Show resolved Hide resolved
modules/FindBasisUniversal.cmake Outdated Show resolved Hide resolved
Signed-off-by: Squareys <squareys@googlemail.com>
@mosra mosra merged commit c2a0546 into mosra:master Nov 6, 2019
Asset management automation moved this from TODO to Done Nov 6, 2019
@mosra
Copy link
Owner

mosra commented Nov 6, 2019

All my local tests worked, so merged, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants