aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:48:35 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:48:35 +0100
commite08cf91681de2d014607225823f59d73d1bb7167 (patch)
treeb0d78aa0e1689ab4c181a77e451b3bb84cc74b2a
parentbf0813cde040efd6ba74fc4947ed0531493084d0 (diff)
Dirty trick to avoid failure at build
Change-Id: I4b2dc928f8b61e8e25145b88b292795c9fd8eea7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--3rdparty/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
index 7af6f4a..268b387 100644
--- a/3rdparty/CMakeLists.txt
+++ b/3rdparty/CMakeLists.txt
@@ -29,6 +29,10 @@ ExternalProject_Add(${LUA}
INSTALL_COMMAND ""
)
+# Dirty trick to get directory created and not fails at
+# INTERFACE_INCLUDE_DIRECTORIES set
+execute_process(COMMAND mkdir -p ${CMAKE_SOURCE_DIR}/3rdparty/lua/src)
+
PROJECT_TARGET_ADD(lua-lib)
add_library(${TARGET_NAME} STATIC IMPORTED GLOBAL)