Commit 4f19cc12 authored by jeremad's avatar jeremad Committed by jeremad

fix cuda path for some installation

parent 7cf79a5e
...@@ -37,9 +37,9 @@ if (LINUX) ...@@ -37,9 +37,9 @@ if (LINUX)
find_library(OPENGL_LIBRARIES GL NO_CMAKE_FIND_ROOT_PATH) find_library(OPENGL_LIBRARIES GL NO_CMAKE_FIND_ROOT_PATH)
else(TEGRA_DEMO) else(TEGRA_DEMO)
find_package(GLEW) find_package(GLEW)
find_library(CUDA cuda) 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} NO_DEFAULT_PATH)
find_library(NVML nvidia-ml) find_library(NVML nvidia-ml PATHS "${LINUX_CUDA_PATH}/stubs")
endif(TEGRA_DEMO) endif(TEGRA_DEMO)
include_directories(${CMAKE_EXTERNAL_DEPS}/include) include_directories(${CMAKE_EXTERNAL_DEPS}/include)
link_directories(${LINUX_CUDA_PATH}) link_directories(${LINUX_CUDA_PATH})
......
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