Commit 33e58893 authored by Juha Reunanen's avatar Juha Reunanen

Workaround for #363: do not set CUDA_HOST_COMPILER for the CUDA test

parent b85cb68e
...@@ -531,7 +531,7 @@ if (NOT TARGET dlib) ...@@ -531,7 +531,7 @@ if (NOT TARGET dlib)
CMAKE_FLAGS "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" CMAKE_FLAGS "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}"
"-DCMAKE_INCLUDE_PATH=${CMAKE_INCLUDE_PATH}" "-DCMAKE_INCLUDE_PATH=${CMAKE_INCLUDE_PATH}"
"-DCMAKE_LIBRARY_PATH=${CMAKE_LIBRARY_PATH}" "-DCMAKE_LIBRARY_PATH=${CMAKE_LIBRARY_PATH}"
"-DCUDA_HOST_COMPILER=${CUDA_HOST_COMPILER}" #"-DCUDA_HOST_COMPILER=${CUDA_HOST_COMPILER}"
) )
if (NOT cuda_test_compile_worked) if (NOT cuda_test_compile_worked)
message(STATUS "*** CUDA was found but your compiler failed to compile a simple CUDA program so dlib isn't going to use CUDA. ***") message(STATUS "*** CUDA was found but your compiler failed to compile a simple CUDA program so dlib isn't going to use CUDA. ***")
......
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