don't force system cJSON on Ubuntu Focal

Ubuntu Focal's cJSON does not contain a const correctness fix that
Monado requires in order to compile with clang:

a530b6d375
This commit is contained in:
Christoph Haag 2022-07-20 18:11:29 +02:00
parent 03a8f30548
commit 385388f2a9
2 changed files with 1 additions and 2 deletions

1
debian/control vendored
View file

@ -8,7 +8,6 @@ Build-Depends: debhelper-compat (= 12),
glslang-tools,
libavcodec-dev [!hppa !sh4],
libbsd-dev [linux-any],
libcjson-dev,
libdbus-1-dev [linux-any],
libegl1-mesa-dev,
libeigen3-dev,

2
debian/rules vendored
View file

@ -19,7 +19,7 @@ include /usr/share/dpkg/architecture.mk
# We disable absolute systemd unit files too since we install to the path.
# Don't waste time building the SteamVR driver, we don't package it.
# Tell the version, instead of letting it guess from Git.
CONFIG_ARGS := -DXRT_HAVE_SYSTEM_CJSON=ON \
CONFIG_ARGS := \
-DXRT_OPENXR_INSTALL_ACTIVE_RUNTIME=OFF \
-DXRT_VULKAN_ENABLE_VALIDATION=OFF \
-DBUILD_DOC=OFF \