change CMakeLists for json module

This commit is contained in:
ValKmjolnir 2023-11-28 00:19:14 +08:00
parent 4f44559a9d
commit f2ae974e1f
1 changed files with 5 additions and 1 deletions

View File

@ -84,4 +84,8 @@ target_link_libraries(mat module-used-object)
add_library(nasock SHARED ${CMAKE_SOURCE_DIR}/module/nasocket.cpp)
target_include_directories(nasock PRIVATE ${CMAKE_SOURCE_DIR}/src)
target_link_libraries(nasock module-used-object)
target_link_libraries(nasock module-used-object)
add_library(json SHARED ${CMAKE_SOURCE_DIR}/module/json.cpp)
target_include_directories(json PRIVATE ${CMAKE_SOURCE_DIR}/src)
target_link_libraries(json module-used-object)