summaryrefslogtreecommitdiffstats
path: root/Modules/FindLua.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-10-02 19:41:43 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2014-10-02 19:41:43 (GMT)
commitc4a56b9c1c0f17d7562cf7abfceed8315938393e (patch)
treefe53854b36c9ee9435576f62a4e6080d04c82e3a /Modules/FindLua.cmake
parent99d34f46fa394a9daabb7ca959e1540ae3a41ef2 (diff)
downloadCMake-c4a56b9c1c0f17d7562cf7abfceed8315938393e.zip
CMake-c4a56b9c1c0f17d7562cf7abfceed8315938393e.tar.gz
CMake-c4a56b9c1c0f17d7562cf7abfceed8315938393e.tar.bz2
FindLua: fix wrong version list if EXACT is given
Diffstat (limited to 'Modules/FindLua.cmake')
-rw-r--r--Modules/FindLua.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLua.cmake b/Modules/FindLua.cmake
index cc35e54..731f5f2 100644
--- a/Modules/FindLua.cmake
+++ b/Modules/FindLua.cmake
@@ -56,7 +56,7 @@ function(set_lua_version_vars)
if (Lua_FIND_VERSION_EXACT)
if (Lua_FIND_VERSION_COUNT GREATER 1)
- set(lua_append_versions ${Lua_FIND_VERSION_MAJOR} ${Lua_FIND_VERSION_MINOR})
+ set(lua_append_versions ${Lua_FIND_VERSION_MAJOR}.${Lua_FIND_VERSION_MINOR})
endif ()
elseif (Lua_FIND_VERSION)
# once there is a different major version supported this should become a loop