mirror of
https://github.com/neovim/neovim.git
synced 2025-11-30 14:10:50 +00:00
cmake: Use LuaJIT include directory for declarations generator
This commit is contained in:
@@ -151,7 +151,7 @@ if(CLANG_ASAN_UBSAN OR CLANG_MSAN OR CLANG_TSAN)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
get_directory_property(gen_includes INCLUDE_DIRECTORIES)
|
get_directory_property(gen_includes INCLUDE_DIRECTORIES)
|
||||||
foreach(gen_include ${gen_includes})
|
foreach(gen_include ${gen_includes} ${LUAJIT_INCLUDE_DIRS})
|
||||||
list(APPEND gen_cflags "-I${gen_include}")
|
list(APPEND gen_cflags "-I${gen_include}")
|
||||||
endforeach()
|
endforeach()
|
||||||
string(TOUPPER "${CMAKE_BUILD_TYPE}" build_type)
|
string(TOUPPER "${CMAKE_BUILD_TYPE}" build_type)
|
||||||
|
|||||||
Reference in New Issue
Block a user