From a12e58424792d90128edf55fedfdb7b7985167e1 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 18 Feb 2017 19:20:59 -0500 Subject: [PATCH] Fixed syntax error in cmake script. --- dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/CMakeLists.txt b/dlib/CMakeLists.txt index 534b676a3..3e675f5f2 100644 --- a/dlib/CMakeLists.txt +++ b/dlib/CMakeLists.txt @@ -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()