Skip to content

Commit

Permalink
Make aasdk_proto shared library to avoid duplicated definitions of pr…
Browse files Browse the repository at this point in the history
…oto messages
  • Loading branch information
[email protected] authored and [email protected] committed Mar 10, 2018
1 parent 26ef6b8 commit 65d6e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aasdk_proto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ include_directories(${PROTOBUF_INCLUDE_DIR})

file(GLOB_RECURSE proto_files ${CMAKE_CURRENT_SOURCE_DIR}/*.proto)
protobuf_generate_cpp(proto_sources proto_headers ${proto_files})
add_library(aasdk_proto ${proto_headers} ${proto_sources})
add_library(aasdk_proto SHARED ${proto_headers} ${proto_sources})
target_link_libraries(aasdk_proto ${PROTOBUF_LIBRARIES})

0 comments on commit 65d6e3e

Please sign in to comment.