We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a868dab commit e8e10efCopy full SHA for e8e10ef
tensorflow_cc/cmake/ProtobufExternal.cmake
@@ -18,17 +18,14 @@ ExternalProject_Add(
18
protobuf-external
19
PREFIX protobuf
20
URL "${PROTOBUF_ARCHIVE}"
21
- BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/protobuf"
22
CMAKE_CACHE_ARGS
23
"-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}"
24
"-Dprotobuf_BUILD_TESTS:BOOL=OFF"
25
"-Dprotobuf_BUILD_EXAMPLES:BOOL=OFF"
26
"-DCMAKE_CXX_COMPILER:STRING=${CMAKE_CXX_COMPILER}"
27
SOURCE_SUBDIR cmake
28
- BUILD_ALWAYS 1
29
- STEP_TARGETS build
30
INSTALL_COMMAND ""
31
)
32
33
-install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/protobuf/cmake_install.cmake")
+install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/protobuf/src/protobuf-external-build/cmake_install.cmake")
34
0 commit comments