summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-05-22 15:20:47 +0200
committerWalt Miner <walt@linux.com>2019-05-24 13:48:19 +0000
commit40aa428a3dff2c8d731d27d0867ff96e95dec938 (patch)
treecd84a73c6efa0d6eaf3122430e3cc9bbae356296 /conf.d
parent8929f4ec3744b9cc1ff5facdb0ff15ea9dd2aca1 (diff)
4a-softmixer: remove AVIRT dependencieshalibut_7.99.1halibut/7.99.17.99.1
Remove AVIRT dependencies when you build on host Bug-AGL: SPEC-2443 Change-Id: I4bf8f39e843d552337fafcdbebe4c82a2290b24e Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/cmake/00-default-osconfig.cmake2
-rw-r--r--conf.d/cmake/config.cmake5
2 files changed, 5 insertions, 2 deletions
diff --git a/conf.d/cmake/00-default-osconfig.cmake b/conf.d/cmake/00-default-osconfig.cmake
index c089c52..de39a53 100644
--- a/conf.d/cmake/00-default-osconfig.cmake
+++ b/conf.d/cmake/00-default-osconfig.cmake
@@ -1 +1 @@
-list(APPEND PKG_REQUIRED_LIST alsa>=1.1.6)
+list(APPEND PKG_REQUIRED_LIST alsa>=1.1.6) \ No newline at end of file
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 2da7bb8..af29b97 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -87,7 +87,10 @@ set (PKG_REQUIRED_LIST
# Customize link option
# -----------------------------
#list(APPEND link_libraries -an-option)
-list(APPEND link_libraries afb-helpers avirt)
+list(APPEND link_libraries afb-helpers)
+if(HAVE_AVIRT)
+ list(APPEND link_libraries avirt)
+endif()
# Compilation options definition
# Use CMake generator expressions to specify only for a specific language