diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:48:35 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:48:35 +0100 |
commit | e08cf91681de2d014607225823f59d73d1bb7167 (patch) | |
tree | b0d78aa0e1689ab4c181a77e451b3bb84cc74b2a /3rdparty/CMakeLists.txt | |
parent | bf0813cde040efd6ba74fc4947ed0531493084d0 (diff) |
Dirty trick to avoid failure at build
Change-Id: I4b2dc928f8b61e8e25145b88b292795c9fd8eea7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to '3rdparty/CMakeLists.txt')
-rw-r--r-- | 3rdparty/CMakeLists.txt | 4 |
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) |