summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/openxc-message-format/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/openxc-message-format/CMakeLists.txt b/libs/openxc-message-format/CMakeLists.txt
index f6964e8a..31020b17 100644
--- a/libs/openxc-message-format/CMakeLists.txt
+++ b/libs/openxc-message-format/CMakeLists.txt
@@ -23,9 +23,9 @@ PROJECT_TARGET_ADD(openxc-message-format)
# Define project Target
add_library(${TARGET_NAME} STATIC
gen/cpp/openxc.pb.c
- ${PROJECT_LIBDIR}/nanopb/pb_encode.c
- ${PROJECT_LIBDIR}/nanopb/pb_decode.c
- ${PROJECT_LIBDIR}/nanopb/pb_common.c)
+ ${CMAKE_CURRENT_SOURCE_DIR}/../nanopb/pb_encode.c
+ ${CMAKE_CURRENT_SOURCE_DIR}/../nanopb/pb_decode.c
+ ${CMAKE_CURRENT_SOURCE_DIR}/../nanopb/pb_common.c)
# Binder exposes a unique public entry point
SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES