fix path errors

This commit is contained in:
Sven Czarnian
2021-10-10 20:50:20 +02:00
parent 8230538325
commit ea460b1aaf
2 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ FUNCTION(ProtobufCompile PROTO_FILES SOURCE_FILES)
DEPENDS protobuf
COMMAND ${CMAKE_SOURCE_DIR}/external/bin/protoc.exe
ARGS -I=${DIRECTORY} --cpp_out=${CMAKE_CURRENT_BINARY_DIR}/protobuf ${PROTO}
WORKING_DIRECTORY "${CMAKE_INSTALL_PREFIX}/bin"
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/external/bin"
COMMENT "Creating C++-sources for ${PROTO}"
)