Found a minor problem with FindCUDA.cmake on the master branch. When using FindCUDA.cmake on Windows with CUDA SDK version 6.5 or older, CMake prints the following warning:
CMake Warning at cmake/FindCUDA.cmake:826 (message): Expecting to find librt for libcudart_static, but didn't find it. Call Stack (most recent call first): cmake/build_setup.cmake:693 (find_package) CMakeLists.txt:42 (include) This warning is incorrect, since librt is only present on Linux. I've attached a patch (based on master) that fixes the problem. Thanks! Stephen S.
0001-Fix-for-spurious-CMake-warning-message-on-Windows.patch
Description: 0001-Fix-for-spurious-CMake-warning-message-on-Windows.patch
-- 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