[cmake-developers] [CMake 0015921]: CUDA_nvcuvid_LIBRARY and CUDA_nvcuvenc_LIBRARY is never set to anything in FindCUDA.cmake

Mantis Bug Tracker mantis at public.kitware.com
Fri Jan 15 18:10:28 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15921 
====================================================================== 
Reported By:                Jason Juang
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15921
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-01-15 18:10 EST
Last Modified:              2016-01-15 18:10 EST
====================================================================== 
Summary:                    CUDA_nvcuvid_LIBRARY and CUDA_nvcuvenc_LIBRARY is
never set to anything in FindCUDA.cmake
Description: 
The variables CUDA_nvcuvenc_LIBRARY and CUDA_nvcuvid_LIBRARY is never set to
anything in FindCUDA.cmake, despite it being two of the variables and is suppose
to represent libnvcuvenc.so and libnvcuvid.so. 

Additionally, there are comments saying that these are windows only which is
outdated because now the CUDA video SDK is also available in linux.

Steps to Reproduce: 
At any CMakeLists.txt:

find_package( CUDA REQUIRED )

message(cuda decoder lib ${CUDA_nvcuvid_LIBRARY})

message(cuda encoder lib ${CUDA_nvcuvenc_LIBRARY})

Nothing will be there. 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-01-15 18:10 Jason Juang    New Issue                                    
======================================================================



More information about the cmake-developers mailing list