We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72d84ac commit f6926c6Copy full SHA for f6926c6
CMakeLists.txt
@@ -19,12 +19,12 @@ include(SetClangRTLib)
19
# It is not possible to pass LUA_LIBRARIES and LUA_INCLUDE_DIR
20
# directly because it breaks `find_package(Lua)`, so it is done
21
# 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
+if("${LUA_LIBRARIES}" STREQUAL "")
+ set(LUA_LIBRARIES)
+endif()
+if("${LUA_INCLUDE_DIR}" STREQUAL "")
+ set(LUA_INCLUDE_DIR)
28
29
if(LUA_INCLUDE_DIR AND LUA_LIBRARIES)
30
# When a path to a Lua library is passed outside, we should
0 commit comments