package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
951 B
29 lines
951 B
8 months ago
|
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
||
7 months ago
|
index 2196dd0..ea839e5 100644
|
||
8 months ago
|
--- a/lib/CMakeLists.txt
|
||
|
+++ b/lib/CMakeLists.txt
|
||
7 months ago
|
@@ -60,7 +60,6 @@ set(nghttp3_SOURCES
|
||
8 months ago
|
nghttp3_opl.c
|
||
|
nghttp3_objalloc.c
|
||
|
nghttp3_unreachable.c
|
||
|
- sfparse/sfparse.c
|
||
|
)
|
||
|
|
||
7 months ago
|
set(NGHTTP3_GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated")
|
||
|
@@ -90,6 +89,7 @@ install(
|
||
8 months ago
|
# Public shared library
|
||
|
if(ENABLE_SHARED_LIB)
|
||
|
add_library(nghttp3 SHARED ${nghttp3_SOURCES})
|
||
|
+ target_link_libraries(nghttp3 sfparse)
|
||
|
set_target_properties(nghttp3 PROPERTIES
|
||
|
COMPILE_FLAGS "${WARNCFLAGS}"
|
||
|
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}
|
||
7 months ago
|
@@ -106,6 +106,7 @@ endif()
|
||
8 months ago
|
if(ENABLE_STATIC_LIB)
|
||
|
# Public static library
|
||
|
add_library(nghttp3_static STATIC ${nghttp3_SOURCES})
|
||
|
+ target_link_libraries(nghttp3_static sfparse)
|
||
|
set_target_properties(nghttp3_static PROPERTIES
|
||
|
COMPILE_FLAGS "${WARNCFLAGS}"
|
||
|
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}
|