Skip to content

Commit

Permalink
BugFix: update CMakeFiles.txt for extra lua file
Browse files Browse the repository at this point in the history
With the addition of ./mudlet-lua/lua/TTSValues.lua to the project in:
Mudlet@34cf653 as part of:
Mudlet#1893
This added a new lua file to the set we provide but the top-level CMake
project file was not updated to account for the extra file so it is now
issuing a warning for each build.  This PR updates that file so it does not
moan anymore about it.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
  • Loading branch information
SlySven committed Mar 5, 2019
1 parent 56935bb commit 3278047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ endif()

file(GLOB_RECURSE lua_files RELATIVE "${CMAKE_HOME_DIRECTORY}/src/mudlet-lua/lua/" "${CMAKE_HOME_DIRECTORY}/src/mudlet-lua/lua/*.lua")
list(LENGTH lua_files lua_file_count)
if(lua_file_count EQUAL 26)
if(lua_file_count EQUAL 27)
message(STATUS "Found Mudlet & Geyser lua files")
else()
message(WARNING "Found ${lua_file_count} Mudlet & Geyser lua files but 26 were expected:")
message(WARNING "Found ${lua_file_count} Mudlet & Geyser lua files but 27 were expected:")
foreach(lua_file ${lua_files})
message(STATUS " ${lua_file}")
endforeach(lua_file)
Expand Down

0 comments on commit 3278047

Please sign in to comment.