summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-06-29 16:53:24 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2018-06-29 16:53:24 +0200
commit23bb777293c68a990de569d6e12fe0533d04b031 (patch)
tree2cc8f624bb1d48be680f0a066f4795fe2bc17d8f /CMakeLists.txt
parent63dc51c35d26c837295ac0ef33c1b8e41353ea35 (diff)
Fix build failure on master due to afb-helpersflounder_5.99.1flounder/5.99.15.99.1
The afb-helpers submodule do not build anymore on master because of dynapi change. Added a definition so fix the issue. Change-Id: Iaf5a1bd58e6628e89af2ec7bab44c188b535e993 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8c1fc7c..806ae35 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,4 +20,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.3)
set(AFB_HELPERS_QTWSCLIENT ON CACHE BOOL "enable Qt's WebSocket client" FORCE)
+add_definitions(-DUSE_API_DYN)
+#add_definitions(-DAFB_BINDING_WANT_DYNAPI)
+
include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/cmake/config.cmake)