[CMake] Clang on Cygwin don't build 'dll.a'

2016-03-22 Thread Thomas Nilsson
I'm trying to build a CMake project using clang instead of gcc. The project is cross-platform and builds cleanly on Cygwin with gcc. With Clang it says: [ 33%] Built target X make[4]: *** No rule to make target 'X.dll.a', needed by 'X.exe'. Stop. CMakeFiles/Makefile2:1140: recipe for target 't

Re: [CMake] find_package REQUIRED ignores OPTIONAL_COMPONENTS

2016-03-22 Thread Jakob van Bethlehem
Hm, interesting. I wonder then if Qt-devs are maintaining this, or the CMake-devs? If the same bug is still present in Qt5, it should be fixed. Sincerely, Jakob On Sun, Mar 20, 2016 at 8:37 PM, Alexander Stein < alexander.stein+cm...@mailbox.org> wrote: > On Tuesday 08 March 2016, 10:00:00 wrote