summaryrefslogtreecommitdiff
path: root/indra/cmake/NDOF.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
commit6d0bba9c03da0d8aca5e88fcb9289cb2f89f3467 (patch)
tree2da3081a07fe04507e907dc5a7b02512489061c6 /indra/cmake/NDOF.cmake
parent34b5c5e89066171a3b98c58edc1185559ebcc75e (diff)
Switch over to standard target_link_libraries (cmake requirements are high enough now).
Diffstat (limited to 'indra/cmake/NDOF.cmake')
-rw-r--r--indra/cmake/NDOF.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/NDOF.cmake b/indra/cmake/NDOF.cmake
index fd7a650612..6daf0e0741 100644
--- a/indra/cmake/NDOF.cmake
+++ b/indra/cmake/NDOF.cmake
@@ -14,9 +14,9 @@ if (NDOF)
endif (WINDOWS OR DARWIN)
if (WINDOWS)
- set_target_libraries( ll::ndof libndofdev)
+ target_link_libraries( ll::ndof INTERFACE libndofdev)
elseif (DARWIN OR LINUX)
- set_target_libraries( ll::ndof ndofdev)
+ target_link_libraries( ll::ndof INTERFACE ndofdev)
endif (WINDOWS)
target_compile_definitions( ll::ndof INTERFACE LIB_NDOF=1)
endif (NDOF)