diff options
Diffstat (limited to 'linden/indra/cmake/NDOF.cmake')
-rw-r--r-- | linden/indra/cmake/NDOF.cmake | 14 |
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 -*- | ||
2 | include(Prebuilt) | ||
3 | |||
4 | use_prebuilt_binary(ndofdev) | ||
5 | |||
6 | if (WINDOWS OR DARWIN) | ||
7 | add_definitions(-DLIB_NDOF=1) | ||
8 | endif (WINDOWS OR DARWIN) | ||
9 | |||
10 | if (WINDOWS) | ||
11 | set(NDOF_LIBRARY libndofdev) | ||
12 | elseif (DARWIN) | ||
13 | set(NDOF_LIBRARY ndofdev) | ||
14 | endif (WINDOWS) | ||