aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-07-28 02:30:14 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-08-23 17:40:31 +0200
commit01715613f16113017529c51703f3e5d90918c4c5 (patch)
tree3de8f88c0bccb63e3f26aa2ad307a36835f98cf9 /conf.d/cmake
parentefa12f0b8d6a8e55d3245f0bfef7a3176758d34c (diff)
Change-Id: I2e8d89b09982c9f3770a5a3e10d281e0ad87651c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/cmake')
-rw-r--r--conf.d/cmake/config.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index e1445537..441321d1 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -119,6 +119,8 @@ set(CXX_COMPILE_OPTIONS -pthread CACHE STRING "Compilation flags for C++ languag
# -D_FORTIFY_SOURCE=2
# CACHE STRING "Compilation flags for RELEASE build type.")
+add_definitions(-DAFB_BINDING_VERSION=2)
+
# Optional location for config.xml.in
# -----------------------------------
#set(WIDGET_ICON "\"${CMAKE_SOURCE_DIR}conf.d/wgt/${PROJECT_ICON}\"" CACHE PATH "Path to the widget icon")