Mercurial > hg > orthanc
view OrthancFramework/Resources/Patches/curl-8.9.0.patch @ 5879:1e51e6299f7a default tip
fix build of dcmtk 3.6.8 with gcc 15
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 25 Nov 2024 17:03:47 +0100 |
parents | 49730b6cade7 |
children |
line wrap: on
line source
diff -urEb curl-8.9.0.orig/CMake/Macros.cmake curl-8.9.0/CMake/Macros.cmake --- curl-8.9.0.orig/CMake/Macros.cmake 2024-07-26 18:47:52.920588300 +0200 +++ curl-8.9.0/CMake/Macros.cmake 2024-07-26 18:48:08.345522100 +0200 @@ -48,7 +48,7 @@ message(STATUS "Performing Test ${CURL_TEST}") try_compile(${CURL_TEST} ${CMAKE_BINARY_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/CMake/CurlTests.c + ${CURL_SOURCES_DIR}/CMake/CurlTests.c CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} "${CURL_TEST_ADD_LIBRARIES}" OUTPUT_VARIABLE OUTPUT)