I would start by looking at the contents of CMAKE_CUDA_IMPLICIT_LINK_LIBRARIES and CMAKE_CUDA_HOST_IMPLICIT_LINK_LIBRARIES
On Sat, Dec 30, 2017 at 12:29 PM, Crni Gorac <cgo...@gmail.com> wrote: > The FindCUDA.cmake module would put list of CUDA libraries found into > corresponding CMake variables. Is there any variable with new > "project(... LANGUAGES ... CUDA)" framework to do the same (I wasn't > able to find it)? > > Basically, what I want to do is to have an option to install all > dependencies of my project along with the project deliverables. Thus > libcudart_static.a is to be installed too. I can find it using > find_library(), but am wondering is there a better way. > > Thanks. > -- > > 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: > https://cmake.org/mailman/listinfo/cmake -- 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: https://cmake.org/mailman/listinfo/cmake