Eike, This fails on a few dashboard machines:
http://open.cdash.org/testDetails.php?test=286158250&build=3519076 CMake Error at /.../Modules/FindThreads.cmake:207 (add_library): add_library cannot create imported target "CMake::Threads" because another target with the same name already exists. Instead of using a variable like HAVE_CMAKE_THREADS_TARGET, just test for the target. Look at FindOpenGL for an example: if(OPENGL_FOUND) if(NOT TARGET OpenGL::GL) add_library(OpenGL::GL UNKNOWN IMPORTED) > + add_library(CMake::Threads INTERFACE IMPORTED GLOBAL) The imported target should not be GLOBAL. Thanks, -Brad -- 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-developers