Skip to content

Commit 4814407

Browse files
committed
Fix default LUA_TYPE option value.
1 parent cfcfd4c commit 4814407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ option(ENABLE_NLS "compile with gettext support" true)
44
option(USE_GTK3 "use GTK3 instead of GTK2" true)
55
option(DEV_BUILD "use development flags" false)
66
option(PREFER_VERSION_FILE "read version information from file instead of using GIT" false)
7-
option(LUA_TYPE "Lua library type (one of \"C++\", \"patched-C++\" or \"C\")" "patched-C++")
7+
set(LUA_TYPE patched-C++ CACHE STRING "Lua library type (one of \"C++\", \"patched-C++\" or \"C\")")
88
set(LUA_TYPES C++ patched-C++ C)
99
set_property(CACHE LUA_TYPE PROPERTY STRINGS ${LUA_TYPES})
1010
if(NOT LUA_TYPE IN_LIST LUA_TYPES)

0 commit comments

Comments
 (0)