Dear CUDA-for-CMake Maintainers,

Our package links a shared library, which defines some replacement
symbols for CUDA runtime (e.g. redefines cudaLaunch). In order to get
our replacements to take precedence over CUDA runtime, we need the
user-specified linked library to appear earlier in the link line than
${CUDA_LIBRARIES}. But from what I understand in FindCUDA.cmake
(v2.8), it seems that CUDA runtime libraries are currently hardcoded
to be always first in the link line. Is there a way to override this
behavior?

Thanks,
- D.
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to