Fixed syntax error in cmake script.

This commit is contained in:
Davis King 2017-02-18 19:20:59 -05:00
parent 7fa1452645
commit a12e584247
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ if (NOT TARGET dlib)
"-DCMAKE_INCLUDE_PATH=${CMAKE_INCLUDE_PATH}"
"-DCMAKE_LIBRARY_PATH=${CMAKE_LIBRARY_PATH}")
if (!MSVC) # see https://github.com/davisking/dlib/issues/363
if (NOT MSVC) # see https://github.com/davisking/dlib/issues/363
list(APPEND CUDA_TEST_CMAKE_FLAGS "-DCUDA_HOST_COMPILER=${CUDA_HOST_COMPILER}")
endif()