summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-11-19 17:41:30 -0600
committerDave Parks <davep@lindenlab.com>2012-11-19 17:41:30 -0600
commit7709b76469da22dc12a17a4a1c2a7da0892f1d4a (patch)
tree3cdd2620f2ea06a0ebde57e87341b39cba11f4cd /indra/cmake
parentace013d26ce1cf972d991dedcfce1c5ef3c6e499 (diff)
parent7491fbd677148e38898bb1a39d00ffd15e803ed4 (diff)
Automated merge with https://bitbucket.org/lindenlab/viewer-cat
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/NVAPI.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/indra/cmake/NVAPI.cmake b/indra/cmake/NVAPI.cmake
new file mode 100644
index 0000000000..78989c408f
--- /dev/null
+++ b/indra/cmake/NVAPI.cmake
@@ -0,0 +1,17 @@
+# -*- cmake -*-
+include(Prebuilt)
+
+set(NVAPI ON CACHE BOOL "Use NVAPI.")
+
+if (NVAPI)
+ use_prebuilt_binary(nvapi)
+
+ if (WINDOWS)
+ set(NVAPI_LIBRARY nvapi)
+ else (WINDOWS)
+ set(NVAPI_LIBRARY "")
+ endif (WINDOWS)
+else (NVAPI)
+ set(NVAPI_LIBRARY "")
+endif (NVAPI)
+