We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b12d6 commit 16b21fcCopy full SHA for 16b21fc
vendor/cpp-httplib/CMakeLists.txt
@@ -30,11 +30,15 @@ if (LLAMA_BUILD_BORINGSSL)
30
31
message(STATUS "Fetching BoringSSL version ${BORINGSSL_VERSION}")
32
33
+ # write an empty file to replace boringssl tool/CMakeLists.txt
34
+ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/empty" "")
35
+
36
include(FetchContent)
37
FetchContent_Declare(
38
boringssl
39
GIT_REPOSITORY ${BORINGSSL_GIT}
40
GIT_TAG ${BORINGSSL_VERSION}
41
+ PATCH_COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_BINARY_DIR}/empty" "tool/CMakeLists.txt"
42
)
43
44
set(SAVED_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
0 commit comments