File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ include(cmake/CPM.cmake)
1515
1616CPMAddPackage(
1717 NAME boringssl
18- VERSION 0.20250114 .0
18+ VERSION 0.20250818 .0
1919 GITHUB_REPOSITORY google/boringssl
20- GIT_TAG 0.20250114 .0
20+ GIT_TAG 0.20250818 .0
2121 OPTIONS "BUILD_SHARED_LIBS OFF" "BUILD_TESTING OFF"
2222)
2323add_subdirectory (src)
Original file line number Diff line number Diff line change 11option (NCRYPTO_DEVELOPMENT_CHECKS "development checks (useful for debugging)" OFF )
22option (NCRYPTO_TESTING "Build tests" ON )
3+ option (NCRYPTO_BSSL_LIBDECREPIT_MISSING "enable if boringssl is built without libdecrepit" OFF )
34
45set (CMAKE_POSITION_INDEPENDENT_CODE ON )
56set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
Original file line number Diff line number Diff line change 11add_library (ncrypto ncrypto.cpp engine.cpp)
22target_link_libraries (ncrypto PUBLIC ssl crypto)
3+
4+ if (NCRYPTO_BSSL_LIBDECREPIT_MISSING)
5+ target_compile_definitions (ncrypto PUBLIC NCRYPTO_BSSL_LIBDECREPIT_MISSING=1)
6+ else ()
7+ target_link_libraries (ncrypto PUBLIC decrepit)
8+ endif ()
9+
310target_include_directories (ncrypto
411 PUBLIC
512 $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include >
You can’t perform that action at this time.
0 commit comments