X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=libs%2Fopenxc-message-format%2FCMakeLists.txt;h=31020b171a281c0aed52a1c8abb3235b54f577d2;hb=refs%2Fheads%2Foctopus;hp=f6964e8a05aed2ac3c040d85072682b2ef7b6870;hpb=32e25cbca210a359b09768537b6f443fe90a3070;p=apps%2Fagl-service-can-low-level.git 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