Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Lua Json
Commits
c1bf82be
Commit
c1bf82be
authored
Sep 25, 2020
by
neoxic
Browse files
LuaVela is dead - remove support
parent
eef17416
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
c1bf82be
cmake_minimum_required
(
VERSION 3.0
)
cmake_minimum_required
(
VERSION 3.0
)
project
(
lua-json
)
project
(
lua-json
)
set
(
USE_LUA_VERSION
""
CACHE STRING
"Build for Lua version 'X.Y' ('jit' for LuaJIT
, 'ujit' for LuaVela
)."
)
set
(
USE_LUA_VERSION
""
CACHE STRING
"Build for Lua version 'X.Y' ('jit' for LuaJIT)."
)
set
(
ver 5.1
)
set
(
ver 5.1
)
if
(
USE_LUA_VERSION MATCHES
"^[0-9]
\\
.[0-9]$"
)
if
(
USE_LUA_VERSION MATCHES
"^[0-9]
\\
.[0-9]$"
)
...
@@ -10,8 +10,6 @@ if(USE_LUA_VERSION MATCHES "^[0-9]\\.[0-9]$")
...
@@ -10,8 +10,6 @@ if(USE_LUA_VERSION MATCHES "^[0-9]\\.[0-9]$")
set
(
lua lua-
${
ver
}
lua
${
ver
}
lua
${
ver_
}
)
set
(
lua lua-
${
ver
}
lua
${
ver
}
lua
${
ver_
}
)
elseif
(
USE_LUA_VERSION STREQUAL
"jit"
)
elseif
(
USE_LUA_VERSION STREQUAL
"jit"
)
set
(
lua luajit
)
set
(
lua luajit
)
elseif
(
USE_LUA_VERSION STREQUAL
"ujit"
)
set
(
lua ujit
)
elseif
(
USE_LUA_VERSION STREQUAL
""
)
elseif
(
USE_LUA_VERSION STREQUAL
""
)
set
(
lua lua
)
set
(
lua lua
)
else
()
else
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment