--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -179,7 +179,7 @@ FIND_PACKAGE(GNUWIN REQUIRED) ENDIF (WIN32) FIND_PACKAGE(OIS REQUIRED) -FIND_PACKAGE(Lua REQUIRED) +FIND_PACKAGE(Lua ${LUA_VERSION} EXACT REQUIRED) FIND_PACKAGE(CEGUI REQUIRED) SET(CEGUI_VERSION_RESOURCES "gui_0.8")