That was very helpful, thanks Nils. I'll be modifying the CMake file to include gomp only when (gcc & !mingw)
On Sat, Jul 25, 2015 at 10:08 AM, Nils Gladitz <nilsglad...@gmail.com> wrote: > On 25.07.2015 09:52, David Seaward wrote: >> >> Hi, >> >> I am generating Code::Blocks project files using CMake GUI. When I do >> this dependencies to GOMP/libgomp are added to the project makefiles. >> If I remove them manually, then make the project, they are added again >> (and the build fails because they are there and I don't have libgomp). >> > > From the looks of it libpointmatcher links to the libraries in > ${libnabo_LIBRARIES}: > https://github.com/ethz-asl/libpointmatcher/blob/master/CMakeLists.txt#L137 > > And libnabo_LIBRARIES contains "gomp" when using gcc: > https://github.com/ethz-asl/libnabo/blob/master/libnaboConfig.cmake.in#L11 > > Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake