summaryrefslogtreecommitdiff
path: root/indra/cmake/NVAPI.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/NVAPI.cmake')
-rw-r--r--indra/cmake/NVAPI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/NVAPI.cmake b/indra/cmake/NVAPI.cmake
index 63e5dd12de..b06cc78087 100644
--- a/indra/cmake/NVAPI.cmake
+++ b/indra/cmake/NVAPI.cmake
@@ -6,7 +6,7 @@ set(NVAPI ON CACHE BOOL "Use NVAPI.")
if (NVAPI)
if (WINDOWS)
create_target( ll::nvapi )
- set_target_libraries( ll::nvapi nvapi)
+ target_link_libraries( ll::nvapi INTERFACE nvapi)
use_prebuilt_binary(nvapi)
endif (WINDOWS)
endif (NVAPI)