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

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

if (NVAPI)
  if (WINDOWS)
    use_prebuilt_binary(nvapi)
    set(NVAPI_LIBRARY nvapi)
  else (WINDOWS)
    set(NVAPI_LIBRARY "")
  endif (WINDOWS)
else (NVAPI)
  set(NVAPI_LIBRARY "")
endif (NVAPI)