diff OrthancFramework/Resources/ProtocolBuffers/ProtobufLibrary.cmake @ 5357:fddb5d8d0021

Prevent the leak of the full path of the source files in the binaries
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Jul 2023 17:04:31 +0200
parents 4c6f0211caaf
children aa1c09fa6632
line wrap: on
line diff
--- a/OrthancFramework/Resources/ProtocolBuffers/ProtobufLibrary.cmake	Tue Jul 04 18:39:52 2023 +0200
+++ b/OrthancFramework/Resources/ProtocolBuffers/ProtobufLibrary.cmake	Thu Jul 06 17:04:31 2023 +0200
@@ -138,7 +138,7 @@
 
 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
   set_property(
-    SOURCE ${PROTOBUF_LIBRARY_SOURCES}
+    SOURCE ${PROTOBUF_LIBRARY_SOURCES} APPEND
     PROPERTY COMPILE_DEFINITIONS "HAVE_PTHREAD=1"
     )
 endif()