add new thirdparty lib, uvw

This commit is contained in:
falsycat 2023-08-14 22:45:31 +09:00
parent 814934d36b
commit 2e6dbf7bc0
2 changed files with 10 additions and 0 deletions

View File

@ -5,6 +5,7 @@ target_link_libraries(nf7_core
luajit
nf7_config
nf7_iface
uvw
)
target_sources(nf7_core
PRIVATE

View File

@ -17,3 +17,12 @@ FetchContent_Declare(
)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)
# ---- uvw (MIT)
FetchContent_Declare(
uvw
GIT_REPOSITORY https://github.com/skypjack/uvw.git
GIT_TAG v3.2.0_libuv_v1.46
)
set(BUILD_UVW_LIBS ON)
FetchContent_MakeAvailable(uvw)