summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake/config.cmake
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/cmake/config.cmake
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/cmake/config.cmake')
-rw-r--r--conf.d/cmake/config.cmake5
1 files changed, 4 insertions, 1 deletions
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