summaryrefslogtreecommitdiff
path: root/indra/cmake/NVAPI.cmake
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-11-19 18:30:13 -0600
committerDave Parks <davep@lindenlab.com>2012-11-19 18:30:13 -0600
commitf5b4a0af6415711f4950ad9ef288490caee5cf4f (patch)
tree60b2e45501ecf4b99864946eedc88ce485bdf1b5 /indra/cmake/NVAPI.cmake
parent7709b76469da22dc12a17a4a1c2a7da0892f1d4a (diff)
MAINT-1841 Fix for mac/linux build
Diffstat (limited to 'indra/cmake/NVAPI.cmake')
-rw-r--r--indra/cmake/NVAPI.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/cmake/NVAPI.cmake b/indra/cmake/NVAPI.cmake
index 78989c408f..105f442a30 100644
--- a/indra/cmake/NVAPI.cmake
+++ b/indra/cmake/NVAPI.cmake
@@ -4,9 +4,8 @@ include(Prebuilt)
set(NVAPI ON CACHE BOOL "Use NVAPI.")
if (NVAPI)
- use_prebuilt_binary(nvapi)
-
if (WINDOWS)
+ use_prebuilt_binary(nvapi)
set(NVAPI_LIBRARY nvapi)
else (WINDOWS)
set(NVAPI_LIBRARY "")