a/os: Add comments about DSOs

This commit is contained in:
Jakob Bornecrantz 2022-10-22 21:59:44 +01:00 committed by Ryan Pavlik
parent 637c49c1ea
commit d33b2b136f

View file

@ -4,6 +4,10 @@
####
# Main os library
#
# Avoid linking with libraries that brings in DSOs as this
# library is used everywhere. Including libraries loaded in
# by applications like the OpenXR runtime library.
#
add_library(aux_os STATIC os_documentation.h os_hid.h os_hid_hidraw.c os_threading.h)
target_link_libraries(aux_os PUBLIC aux-includes xrt-pthreads)