Commit b7c7e3e5 authored by Clement Guedez's avatar Clement Guedez

dectect cuda from pkg install

parent 8978380d
......@@ -38,7 +38,7 @@ if (LINUX)
else(TEGRA_DEMO)
find_package(GLEW)
find_library(CUDA cuda PATHS "${LINUX_CUDA_PATH}/stubs")
find_library(CUDART cudart PATHS ${LINUX_CUDA_PATH} NO_DEFAULT_PATH)
find_library(CUDART cudart PATHS ${LINUX_CUDA_PATH})
find_library(NVML nvidia-ml PATHS "${LINUX_CUDA_PATH}/stubs")
endif(TEGRA_DEMO)
include_directories(${CMAKE_EXTERNAL_DEPS}/include)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment