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

CMake: fix missing exported modules #1480

Conversation

outkontroll
Copy link

It looks like some of the modules were missing from a generated list used by CMake.

I'm using the compiled and installed JUCE libraries using CMake and when I tried to add an animation exactly like the one in examples/GUI/AnimatorsDemo.h I realized that CMake can't find the target "juce::juce_animation" to link to. The reason behind is that "juce_animation" is missing from the installed JUCE/install/lib/cmake//JUCEConfig.cmake file's _juce_modules list. The module "juce_midi_ci" was also missing. This file is generated from the JUCEConfig.cmake.in input file, that's why I modified this file.
After the (proposed) modification I was able to install and then link against juce::juce_animation.

@reuk
Copy link
Member

reuk commented Dec 2, 2024

Thanks! Merged here: 6f85c2c

@reuk reuk closed this Dec 2, 2024
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