On 06/08/2016 03:33 AM, "Michael Jäntsch" wrote: > the : is obviously the default for noop which is correct for > Linux but not for Windows. My CMakeCache has the following entry: > //noop for ranlib > CMAKE_RANLIB:INTERNAL=:
I see that here: https://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/CMakeFindBinUtils.cmake;hb=v3.5.2#l55 if(NOT CMAKE_RANLIB) set(CMAKE_RANLIB : CACHE INTERNAL "noop for ranlib") endif() Here is a fix: Run ranlib on archives only if the tool is available https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ea598671 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