summaryrefslogtreecommitdiff
path: root/indra/cmake/NDOF.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/NDOF.cmake')
-rw-r--r--indra/cmake/NDOF.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/cmake/NDOF.cmake b/indra/cmake/NDOF.cmake
new file mode 100644
index 0000000000..22e9787653
--- /dev/null
+++ b/indra/cmake/NDOF.cmake
@@ -0,0 +1,11 @@
+# -*- cmake -*-
+
+if (WINDOWS OR DARWIN)
+ add_definitions(-DLIB_NDOF=1)
+endif (WINDOWS OR DARWIN)
+
+if (WINDOWS)
+ set(NDOF_LIBRARY libndofdev)
+elseif (DARWIN)
+ set(NDOF_LIBRARY ndofdev)
+endif (WINDOWS)