summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/cmake.d/03-macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake
index db31884..77b4bd2 100644
--- a/cmake/cmake.d/03-macros.cmake
+++ b/cmake/cmake.d/03-macros.cmake
@@ -136,7 +136,7 @@ macro(add_input_files INPUT_FILES)
set(XML_LIST ${INPUT_FILES})
list_filter(XML_LIST "xml$")
endif()
- if(NOT DEFINED LUA_FILES)
+ if(NOT DEFINED LUA_LIST)
set(LUA_LIST ${INPUT_FILES})
list_filter(LUA_LIST "lua$")
endif()