Skip to content

Commit cc52b65

Browse files
committed
cmake : skip bssl
Signed-off-by: Adrien Gallouët <[email protected]>
1 parent 8e32e4c commit cc52b65

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vendor/cpp-httplib/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ if (LLAMA_BUILD_BORINGSSL)
4848
set(BUILD_SHARED_LIBS ${SAVED_BUILD_SHARED_LIBS})
4949
set(BUILD_TESTING ${SAVED_BUILD_TESTING})
5050

51+
# skip bssl
52+
if(TARGET bssl)
53+
set_target_properties(bssl PROPERTIES EXCLUDE_FROM_ALL TRUE)
54+
set_target_properties(bssl PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD TRUE)
55+
endif()
56+
5157
set(CPPHTTPLIB_OPENSSL_SUPPORT TRUE)
5258
target_link_libraries(${TARGET} PUBLIC ssl crypto)
5359

0 commit comments

Comments
 (0)