Skip to content

Commit f6926c6

Browse files
committed
xxx
1 parent 72d84ac commit f6926c6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ include(SetClangRTLib)
1919
# It is not possible to pass LUA_LIBRARIES and LUA_INCLUDE_DIR
2020
# directly because it breaks `find_package(Lua)`, so it is done
2121
# using intermediate variables.
22-
# if(NOT "${CMAKE_LUA_LIBRARIES}" STREQUAL "")
23-
# set(LUA_LIBRARIES "${CMAKE_LUA_LIBRARIES}")
24-
# endif()
25-
# if(NOT "${CMAKE_LUA_INCLUDE_DIR}" STREQUAL "")
26-
# set(LUA_INCLUDE_DIR "${CMAKE_LUA_INCLUDE_DIR}")
27-
# endif()
22+
if("${LUA_LIBRARIES}" STREQUAL "")
23+
set(LUA_LIBRARIES)
24+
endif()
25+
if("${LUA_INCLUDE_DIR}" STREQUAL "")
26+
set(LUA_INCLUDE_DIR)
27+
endif()
2828

2929
if(LUA_INCLUDE_DIR AND LUA_LIBRARIES)
3030
# When a path to a Lua library is passed outside, we should

0 commit comments

Comments
 (0)