fix of protoc calls (e.g. for Ubuntu 18.04)
Stefan Schuermans

Stefan Schuermans commited on 2020-05-25 17:51:36
Showing 2 changed files, with 2 additions and 2 deletions.

... ...
@@ -7,7 +7,7 @@ add_custom_command(
7 7
   COMMAND
8 8
   protoc-c --proto_path ${CMAKE_SOURCE_DIR}
9 9
            --c_out ${CMAKE_CURRENT_BINARY_DIR}/src
10
-           uproctrace.proto
10
+           ${CMAKE_SOURCE_DIR}/uproctrace.proto
11 11
 )
12 12
 
13 13
 add_library(
... ...
@@ -6,7 +6,7 @@ add_custom_command(
6 6
   COMMAND
7 7
   protoc --proto_path ${CMAKE_SOURCE_DIR}
8 8
          --python_out ${CMAKE_CURRENT_BINARY_DIR}
9
-         uproctrace.proto
9
+         ${CMAKE_SOURCE_DIR}/uproctrace.proto
10 10
 )
11 11
 
12 12
 add_custom_command(
13 13