Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed Aug 7, 2024
1 parent 900d561 commit f6ea880
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ option(KAI_ENABLE_LTO "Turn on compiler Link Time Optimizations" OFF)
option(KAI_ENABLE_UNICODE "Enable unicode support for Windows builds" ON)
option(KAI_ENABLE_HTTP2 "Enable HTTP/2 support in cURL" ON)

set(
AAA
libcurl_shared
)

set(
CURL_LIBRARY_DEPENDENCIES
bearssl
)

set(
INTERNAL_LIBRARY_TARGETS
kai
Expand Down Expand Up @@ -95,6 +100,7 @@ if (KAI_ENABLE_HTTP2)

list(APPEND CURL_LIBRARY_DEPENDENCIES nghttp2)
list(APPEND INTERNAL_LIBRARY_TARGETS nghttp2)
list(APPEND AAA nghttp2)
endif()

include_directories(
Expand Down Expand Up @@ -827,7 +833,7 @@ elseif (UNIX)
endif()

foreach(property RUNTIME_OUTPUT_DIRECTORY LIBRARY_OUTPUT_DIRECTORY)
foreach(target ${CURL_LIBRARY_DEPENDENCIES})
foreach(target ${AAA})
set_target_properties(
${target}
PROPERTIES
Expand Down

0 comments on commit f6ea880

Please sign in to comment.