We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3404ba1 commit b322a59Copy full SHA for b322a59
CMakeLists.txt
@@ -16,7 +16,7 @@ if(NOT CMAKE_BUILD_TYPE)
16
FORCE)
17
endif()
18
19
-find_package(Lua51 REQUIRED)
+find_package(Lua 5.4 REQUIRED)
20
include_directories(${LUA_INCLUDE_DIR})
21
22
if(NOT USE_INTERNAL_FPCONV)
@@ -76,7 +76,7 @@ if(MSVC)
76
add_definitions(-Dstrncasecmp=_strnicmp)
77
78
79
-add_library(cjson MODULE lua_cjson.c strbuf.c ${FPCONV_SOURCES})
+add_library(cjson STATIC lua_cjson.c strbuf.c ${FPCONV_SOURCES})
80
set_target_properties(cjson PROPERTIES PREFIX "")
81
target_link_libraries(cjson ${_MODULE_LINK})
82
install(TARGETS cjson DESTINATION "${_lua_module_dir}")
0 commit comments