diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-12-05 11:06:07 +0100 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2017-12-20 19:24:21 -0500 |
commit | d03590991d2c7104e7cd4b2a18e710008b2759ab (patch) | |
tree | 93f69d19982cc4ea4a3b6a317558e0b399492447 /conf.d/cmake | |
parent | da737e24ee735b5dbcf773997ee1f42cd4cc9888 (diff) |
Add 4A supporteel_5.0.0eel_4.99.5eel/5.0.0eel/4.99.55.0.04.99.5
Add conditional compilation option to enable using the 4A high-level
API to request Multimedia role access.
Change-Id: I85c19e33a355f9133bdda837e9374776fc92efe9
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'conf.d/cmake')
-rw-r--r-- | conf.d/cmake/config.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index e7e6143..92c7ee1 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -86,7 +86,11 @@ set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) # Optional location for config.xml.in # ----------------------------------- -set(WIDGET_CONFIG_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/config.xml.in) +if(HAVE_4A_FRAMEWORK) + set(WIDGET_CONFIG_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/config-4a.xml.in) +else() + set(WIDGET_CONFIG_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/config.xml.in) +endif() # Mandatory widget Mimetype specification of the main unit # -------------------------------------------------------------------------- |