Skip to content

Commit 4025f4b

Browse files
authored
Change cjson library from MODULE to STATIC
1 parent 91ca29d commit 4025f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if(MSVC)
7575
add_definitions(-Dstrncasecmp=_strnicmp)
7676
endif()
7777

78-
add_library(cjson MODULE lua_cjson.c strbuf.c ${FPCONV_SOURCES})
78+
add_library(cjson STATIC lua_cjson.c strbuf.c ${FPCONV_SOURCES})
7979
set_target_properties(cjson PROPERTIES PREFIX "")
8080
target_link_libraries(cjson ${_MODULE_LINK})
8181
install(TARGETS cjson DESTINATION "${_lua_module_dir}")

0 commit comments

Comments
 (0)