[Tarantool-patches] [PATCH v1 2/5] build: set include path to bootstrap.h

Alexander V. Tikhonov avtikhon at tarantool.org
Wed Oct 14 11:29:21 MSK 2020


Running out-of-source build got the issue:

  /source/src/box/memtx_engine.c:48:23: fatal error: bootstrap.h: No such file or directory

To fix it added path to the header in cmake file.

Part of #4968
---

Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-4874-out-of-source-build-full-ci
Issue: https://github.com/tarantool/tarantool/issues/4968

 src/box/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/box/CMakeLists.txt b/src/box/CMakeLists.txt
index 8b2e704cf..6e25401a1 100644
--- a/src/box/CMakeLists.txt
+++ b/src/box/CMakeLists.txt
@@ -77,6 +77,7 @@ set_property(DIRECTORY PROPERTY ADDITIONAL_MAKE_CLEAN_FILES ${lua_sources})
 
 include_directories(${ZSTD_INCLUDE_DIRS})
 include_directories(${CMAKE_BINARY_DIR}/src/box/sql)
+include_directories(${CMAKE_BINARY_DIR}/src/box)
 
 add_library(vclock STATIC vclock.c)
 target_link_libraries(vclock core bit)
-- 
2.25.1



More information about the Tarantool-patches mailing list