Commit 99e2ad8b authored by Sam Horvath's avatar Sam Horvath

BUG: Fixed ordering of vrpn/vrpnserver library

This prevents linker errors in Windows from finding multiple
copies of the vrpn base classes.
parent 009d88bd
Pipeline #58928 passed with stage
......@@ -77,6 +77,13 @@ endif()
#-----------------------------------------------------------------------------
# Find library
#-----------------------------------------------------------------------------
find_library(VRPNSERVER_LIBRARY
NAMES
vrpnserver
vrpnserverd
)
mark_as_advanced(VRPNSERVER_LIBRARY)
list(APPEND VRPN_LIBRARIES ${VRPNSERVER_LIBRARY})
find_library(VRPN_LIBRARY
NAMES
......@@ -86,14 +93,6 @@ find_library(VRPN_LIBRARY
mark_as_advanced(VRPN_LIBRARY)
list(APPEND VRPN_LIBRARIES ${VRPN_LIBRARY})
find_library(VRPNSERVER_LIBRARY
NAMES
vrpnserver
vrpnserverd
)
mark_as_advanced(VRPNSERVER_LIBRARY)
list(APPEND VRPN_LIBRARIES ${VRPNSERVER_LIBRARY})
find_library(QUAT_LIBRARY
NAMES
quat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment