File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,8 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST)
194
194
IF (WIN32 )
195
195
SET (OPTIONAL_ARGS ${OPTIONAL_ARGS}
196
196
"-DCMAKE_GENERATOR=${CMAKE_GENERATOR} "
197
- "-DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM} " )
197
+ "-DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM} "
198
+ "-Dprotobuf_MSVC_STATIC_RUNTIME=${MSVC_STATIC_CRT} " )
198
199
ENDIF ()
199
200
200
201
SET (PROTOBUF_REPOSITORY https://github.com/protocolbuffers/protobuf.git )
@@ -224,7 +225,6 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST)
224
225
-DCMAKE_INSTALL_PREFIX=${PROTOBUF_INSTALL_DIR}
225
226
-DCMAKE_INSTALL_LIBDIR=lib
226
227
-DBUILD_SHARED_LIBS=OFF
227
- -Dprotobuf_MSVC_STATIC_RUNTIME=${MSVC_STATIC_CRT}
228
228
CMAKE_CACHE_ARGS
229
229
-DCMAKE_INSTALL_PREFIX:PATH=${PROTOBUF_INSTALL_DIR}
230
230
-DCMAKE_BUILD_TYPE:STRING=${THIRD_PARTY_BUILD_TYPE}
You can’t perform that action at this time.
0 commit comments