summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2013-01-24 14:28:09 -0500
committerNat Goodspeed <nat@lindenlab.com>2013-01-24 14:28:09 -0500
commit3b369770f7a81ca76b81087d2716c5f29211f7c2 (patch)
tree70ad9096da75c663590a546fa9f12dcfe7b11373 /indra/cmake
parent22db60ed0dfd606ab8f8d49141446442a4a72a48 (diff)
parentcebde0a32b4a8163010d9cbf5e6b3036865ed943 (diff)
Automated merge with ssh://bitbucket.org/lindenlab/viewer-development
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/NVAPI.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/cmake/NVAPI.cmake b/indra/cmake/NVAPI.cmake
new file mode 100644
index 0000000000..105f442a30
--- /dev/null
+++ b/indra/cmake/NVAPI.cmake
@@ -0,0 +1,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)
+