From de90d385dc2fcd40768aa5bdfabbc2b8fe42e70d Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Wed, 12 Aug 2020 21:22:49 +0300 Subject: [PATCH] Fix bad nvml lib on windows --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ac4d7991e..89f70a3cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -418,6 +418,10 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) # add_library(nvpipe INTERFACE) #endif() +if (WIN32) + add_library(nvidia-ml INTERFACE) +endif() + if (WITH_FIXSTARS) set(HAVE_LIBSGM true) add_subdirectory(lib/libsgm) -- GitLab