Skip to content

Commit

Permalink
Copy .proto
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcdonnell-kx committed Dec 1, 2020
1 parent a819b0e commit 96094b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 909 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ install(DIRECTORY examples DESTINATION ${PROJECT_BINARY_DIR}/${MY_LIBRARY_NAME}
install(DIRECTORY q DESTINATION ${PROJECT_BINARY_DIR}/${MY_LIBRARY_NAME} CONFIGURATIONS Release)
install(DIRECTORY proto DESTINATION ${PROJECT_BINARY_DIR}/${MY_LIBRARY_NAME} CONFIGURATIONS Release)

# Copy the .proto files from the protobuf include directory
file(TO_CMAKE_PATH "$ENV{BUILD_HOME}" BUILD_HOME_PATH)
file(GLOB PROTO_FILES ${BUILD_HOME_PATH}/include/google/protobuf/*.proto)
install(FILES ${PROTO_FILES} DESTINATION ${PROJECT_BINARY_DIR}/${MY_LIBRARY_NAME}/proto/google/protobuf CONFIGURATIONS Release)
Loading

0 comments on commit 96094b9

Please sign in to comment.