Mercurial > hg > orthanc
annotate Resources/Patches/curl-7.57.0-cmake.patch @ 2571:a84ce82fd55b
Fix generation of DICOMDIR if PatientID is empty
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 May 2018 20:48:49 +0200 |
parents | ade8b4ddd8a6 |
children |
rev | line source |
---|---|
2450
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 diff -urEb curl-7.57.0.orig/CMake/Macros.cmake curl-7.57.0/CMake/Macros.cmake |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 --- curl-7.57.0.orig/CMake/Macros.cmake 2017-11-09 23:40:36.000000000 +0100 |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 +++ curl-7.57.0/CMake/Macros.cmake 2018-01-03 10:39:15.589520034 +0100 |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 @@ -38,7 +38,7 @@ |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 message(STATUS "Performing Curl Test ${CURL_TEST}") |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 try_compile(${CURL_TEST} |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 ${CMAKE_BINARY_DIR} |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 - ${CMAKE_CURRENT_SOURCE_DIR}/CMake/CurlTests.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 + ${CURL_SOURCES_DIR}/CMake/CurlTests.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 "${CURL_TEST_ADD_LIBRARIES}" |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 OUTPUT_VARIABLE OUTPUT) |