aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)