Skip to content

Comments

CMake: fix missing exported modules#1480

Closed
outkontroll wants to merge 1 commit intojuce-framework:developfrom
outkontroll:fix_cmake_exported_modules
Closed

CMake: fix missing exported modules#1480
outkontroll wants to merge 1 commit intojuce-framework:developfrom
outkontroll:fix_cmake_exported_modules

Conversation

@outkontroll
Copy link
Contributor

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