Mercurial > hg > orthanc
diff OrthancFramework/Resources/CMake/ProtobufConfiguration.cmake @ 5207:e7529e6241d2 db-protobuf
first successful protobuf communication
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Mar 2023 21:31:56 +0200 |
parents | af66a8e93ccf |
children | 48b8dae6dc77 |
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/ProtobufConfiguration.cmake Thu Mar 30 17:08:13 2023 +0200 +++ b/OrthancFramework/Resources/CMake/ProtobufConfiguration.cmake Thu Mar 30 21:31:56 2023 +0200 @@ -23,7 +23,7 @@ if (ENABLE_PROTOBUF_COMPILER) include(ExternalProject) externalproject_add(ProtobufCompiler - SOURCE_DIR "${CMAKE_SOURCE_DIR}/../OrthancFramework/Resources/ProtocolBuffers" + SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/../ProtocolBuffers" BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/ProtobufCompiler-build" # this helps triggering build when changing the external project BUILD_ALWAYS 1