From cf636886b92b45f8533234de3267b81941d7d477 Mon Sep 17 00:00:00 2001 From: Matteo Gianella Date: Wed, 7 Sep 2022 10:47:35 +0200 Subject: [PATCH] Export proto path to parent scope --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d00f53f58..1be5d0ea2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,6 +145,7 @@ if(HAS_PARENT) set(BAYESMIX_INCLUDE_PATHS ${INCLUDE_PATHS} PARENT_SCOPE) set(BAYESMIX_LINK_LIBRARIES ${LINK_LIBRARIES} PARENT_SCOPE) set(BAYESMIX_COMPILE_OPTIONS ${COMPILE_OPTIONS} PARENT_SCOPE) + set(BAYESMIX_PROTO_PATH "${BASEPATH}/src/proto" PARENT_SCOPE) set(PROTO_HEADERS ${PROTO_HDRS} PARENT_SCOPE) set(PROTO_SOURCES ${PROTO_SRCS} PARENT_SCOPE) set(ProtoFiles ${ProtoFiles} PARENT_SCOPE)