summaryrefslogtreecommitdiff
path: root/indra/cmake/NDOF.cmake
blob: dad74e99b1bb7c8a4d79022938cb6df2d0ecb2bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- cmake -*-
include(Prebuilt)

use_prebuilt_binary(ndofdev)

if (WINDOWS OR DARWIN OR LINUX)
  add_definitions(-DLIB_NDOF=1)
endif (WINDOWS OR DARWIN OR LINUX)

if (WINDOWS)
  set(NDOF_LIBRARY libndofdev)
elseif (DARWIN OR LINUX)
  set(NDOF_LIBRARY ndofdev)
endif (WINDOWS)