[CMake] Mingw64: add a statically linked library adds libstdc++ dependency

2019-06-15 Thread William Zeitler
hen I link with the 'hello_lib' library. In both cases if I comment out the reference to hello_lib, the libstdc++ dependency is eliminated. I would be very grateful for your insight! William Zeitler -- Powered by www.kitware.com Please keep messages on-topic and check the CM

Re: [CMake] Mingw64: add a statically linked library adds libstdc++ dependency

2019-06-17 Thread William Zeitler
On 6/17/19 02:16, Eric Dönges wrote: On 15.06.19 21:33, William Zeitler wrote: In the example below, two lines are marked "COMMENT ME OUT": one in hello_c/main.cpp and the other in hello_c/CMakeLists.txt. If you comment these out, the reference to the hello_lib library is removed; t