mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 21:28:50 +00:00
d/vive: Split nxjson sources from vive sources
This commit is contained in:
parent
fcd43180e6
commit
86db0622f9
|
@ -84,12 +84,14 @@ if(BUILD_DRIVER_VIVE)
|
|||
vive/vive_prober.h
|
||||
vive/vive_prober.c
|
||||
vive/vive_protocol.h
|
||||
)
|
||||
set(NXJSON_SOURCE_FILES
|
||||
../../external/nxjson/nxjson.h
|
||||
../../external/nxjson/nxjson.c
|
||||
)
|
||||
|
||||
# Use OBJECT to not create a archive, since it just gets in the way.
|
||||
add_library(drv_vive OBJECT ${VIVE_SOURCE_FILES})
|
||||
add_library(drv_vive OBJECT ${VIVE_SOURCE_FILES} ${NXJSON_SOURCE_FILES})
|
||||
target_include_directories(drv_vive SYSTEM PRIVATE ../../external)
|
||||
target_link_libraries(drv_vive z)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue