Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
iMSTK
iMSTK
Commits
f078198c
Commit
f078198c
authored
May 09, 2016
by
Alexis Girault
Browse files
COMP: link & include LibNiFalcon in VRPN target
parent
62eefe40
Changes
1
Show whitespace changes
Inline
Side-by-side
CMake/FindVRPN.cmake
View file @
f078198c
...
...
@@ -20,6 +20,12 @@ find_path(VRPN_INCLUDE_DIR
)
mark_as_advanced
(
VRPN_INCLUDE_DIR
)
find_path
(
LIBNIFALCON_INCLUDE_DIR
NAMES
falcon/core/FalconDevice.h
)
mark_as_advanced
(
LIBNIFALCON_INCLUDE_DIR
)
find_path
(
LIBUSB1_INCLUDE_DIR
NAMES
libusb.h
...
...
@@ -34,6 +40,7 @@ list(APPEND VRPN_INCLUDE_DIRS
${
VRPN_INCLUDE_DIR
}
${
VRPN_INCLUDE_DIR
}
/quat
${
VRPN_INCLUDE_DIR
}
/atmellib
${
LIBNIFALCON_INCLUDE_DIR
}
${
LIBUSB1_INCLUDE_DIR
}
)
message
(
STATUS
"VRPN_INCLUDE_DIRS :
${
VRPN_INCLUDE_DIRS
}
"
)
...
...
@@ -55,6 +62,13 @@ find_library(QUAT_LIBRARY
)
mark_as_advanced
(
QUAT_LIBRARY
)
find_library
(
LIBNIFALCON_LIBRARY
NAMES
libnifalcon
nifalcon
)
mark_as_advanced
(
LIBNIFALCON_LIBRARY
)
#works on windows, but sounds like it is needed only on linux, check vrpn/submodules/hidapi.cmake
find_library
(
LIBUSB1_LIBRARY
NAMES
...
...
@@ -78,6 +92,7 @@ endif()
set
(
VRPN_LIBRARIES
${
VRPN_LIBRARY
}
${
QUAT_LIBRARY
}
${
LIBNIFALCON_LIBRARY
}
${
LIBUSB1_LIBRARY
}
${
HIDAPI_LIBRARY
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment