diff options
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/cmake/00-default-osconfig.cmake | 2 | ||||
-rw-r--r-- | conf.d/cmake/config.cmake | 5 |
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 |