aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/NDOF.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/NDOF.cmake')
-rw-r--r--linden/indra/cmake/NDOF.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/cmake/NDOF.cmake b/linden/indra/cmake/NDOF.cmake
new file mode 100644
index 0000000..3f715a2
--- /dev/null
+++ b/linden/indra/cmake/NDOF.cmake
@@ -0,0 +1,14 @@
1# -*- cmake -*-
2include(Prebuilt)
3
4use_prebuilt_binary(ndofdev)
5
6if (WINDOWS OR DARWIN)
7 add_definitions(-DLIB_NDOF=1)
8endif (WINDOWS OR DARWIN)
9
10if (WINDOWS)
11 set(NDOF_LIBRARY libndofdev)
12elseif (DARWIN)
13 set(NDOF_LIBRARY ndofdev)
14endif (WINDOWS)