summaryrefslogtreecommitdiff
path: root/indra/cmake/NVAPI.cmake
blob: ff5a5428e098774d6a4cb6564dffc2e8908eae22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- cmake -*-
include(Prebuilt)

set(NVAPI ON CACHE BOOL "Use NVAPI.")

if (NVAPI)
  if (WINDOWS)
    add_library( ll::nvapi INTERFACE IMPORTED )
    target_link_libraries( ll::nvapi INTERFACE nvapi)
    use_prebuilt_binary(nvapi)
  endif (WINDOWS)
endif (NVAPI)