From 72a740e365d1031aa313ffbc420bfee73ec18d6a Mon Sep 17 00:00:00 2001 From: Kellen Sunderland Date: Thu, 18 Apr 2019 21:12:49 -0700 Subject: [PATCH] Static link NVTX on Windows --- cmake/Modules/FindNVTX.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindNVTX.cmake b/cmake/Modules/FindNVTX.cmake index 3dfd8411f61a..e94da28f7c3d 100644 --- a/cmake/Modules/FindNVTX.cmake +++ b/cmake/Modules/FindNVTX.cmake @@ -24,7 +24,7 @@ find_path(NVTX_INCLUDE_DIRS ) find_library(NVTX_LIBRARIES - NAMES nvToolsExt64_1 nvToolsExt32_1 nvToolsExt + NAMES nvToolsExt64_1.lib nvToolsExt64_1 nvToolsExt32_1 nvToolsExt PATHS $ENV{NVTOOLSEXT_PATH} ${NVTX_ROOT_DIR} ${CUDA_TOOLKIT_ROOT_DIR} PATH_SUFFIXES lib lib64 lib/Win32 lib/x64 )