We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfcfd4c commit 4814407Copy full SHA for 4814407
CMakeLists.txt
@@ -4,7 +4,7 @@ option(ENABLE_NLS "compile with gettext support" true)
4
option(USE_GTK3 "use GTK3 instead of GTK2" true)
5
option(DEV_BUILD "use development flags" false)
6
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++")
+set(LUA_TYPE patched-C++ CACHE STRING "Lua library type (one of \"C++\", \"patched-C++\" or \"C\")")
8
set(LUA_TYPES C++ patched-C++ C)
9
set_property(CACHE LUA_TYPE PROPERTY STRINGS ${LUA_TYPES})
10
if(NOT LUA_TYPE IN_LIST LUA_TYPES)
0 commit comments