changeset 4536:237ec4c5a24d

missing ALLOW_DOWNLOADS when building unit tests of framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 26 Feb 2021 16:50:52 +0100
parents c40c1234a696
children 1de2fc0363cb
files OrthancFramework/SharedLibrary/CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/SharedLibrary/CMakeLists.txt	Fri Feb 26 13:50:37 2021 +0100
+++ b/OrthancFramework/SharedLibrary/CMakeLists.txt	Fri Feb 26 16:50:52 2021 +0100
@@ -513,6 +513,7 @@
     SOURCE_DIR "${CMAKE_SOURCE_DIR}/../UnitTestsSources"
     CMAKE_ARGS
     ${Flags}
+    -DALLOW_DOWNLOADS:BOOL=${ALLOW_DOWNLOADS}
     -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
     -DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES:STRING=${ORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES}
     -DORTHANC_FRAMEWORK_LIBDIR:PATH=${CMAKE_CURRENT_BINARY_DIR}