Native, built-in CMake Support in JUCE

Hi @reuk, excellent work!

I was just giving CMake + CLion a spin on a project that uses a personal juce module, but ran into missing symbols linker errors. The custom module links to a third-party static lib passed in the “OSXLibs” module declaration metadata, but that doesn’t seem to be handled in JUCEUtils.cmake. Is that omitted on purpose? Am I missing something?

(I got it working by adding the path to the lib through my project’s target_link_libraries in CMakeList.txt, but most likely not the right approach)