This is akin to the `install` behavior. It should make build directory
deletable on certain build bots.
# This needs to happen to avoid clashing protobuf codegen when building both AOT and development mode.
# We plan to replace protobuf with a simpler alternative, so this will go away.
file(COPY ${TENSORFLOW_AOT_PATH}/include DESTINATION ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/tensorflow
+ NO_SOURCE_PERMISSIONS
PATTERN "google/*" EXCLUDE
PATTERN "*.pb.h" EXCLUDE)
include_directories(${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/tensorflow/include)