summaryrefslogtreecommitdiffstats
path: root/libs/openxc-message-format
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-11-29 10:02:32 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-11-29 10:02:32 +0100
commitc581ce6aee5ae878f9ccee02b1cc2651fa43030e (patch)
tree0339af634d325ab563619ac68e07fa8a3e134640 /libs/openxc-message-format
parent566d1ae135c09ac98c19abdf0c52918abb6f1e3d (diff)
Deprecate cmake variables not useful
Mechanism to build 3rdparty external libs isn't unique and should not be handled by app-templates Change-Id: Ib8a030184820da6577fa37f74331aaf7d6155916 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'libs/openxc-message-format')
-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