Skip to content

Commit 4f22e66

Browse files
committed
cmake: define LUA_INCLUDE_DIR
Follows up the commit 2a58b8a ("rockspec: propagate CMake options").
1 parent 2a58b8a commit 4f22e66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ if(CMAKE_LUA_INCLUDE_DIR AND CMAKE_LUA_LIBRARIES)
2323
add_library(liblua STATIC IMPORTED GLOBAL)
2424
set_target_properties(liblua PROPERTIES
2525
IMPORTED_LOCATION ${CMAKE_LUA_LIBRARIES})
26+
set(LUA_INCLUDE_DIR ${CMAKE_LUA_INCLUDE_DIR})
2627
set(LUA_LIBRARIES liblua)
2728
set(LUA_FOUND TRUE)
2829
elseif(ENABLE_LUAJIT)

0 commit comments

Comments
 (0)