|
|
@ -42,7 +42,7 @@ macro(_check_and_save_build_option OPTION VALUE) |
|
|
|
NOT ${PACKAGE_FIND_NAME}_${OPTION} STREQUAL ${VALUE}) |
|
|
|
NOT ${PACKAGE_FIND_NAME}_${OPTION} STREQUAL ${VALUE}) |
|
|
|
set(PACKAGE_VERSION_UNSUITABLE TRUE) |
|
|
|
set(PACKAGE_VERSION_UNSUITABLE TRUE) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
set(${PACKAGE_FIND_NAME}_${OPTION} ${VALUE}) |
|
|
|
set(${PACKAGE_FIND_NAME}_${OPTION} ${VALUE} PARENT_SCOPE) |
|
|
|
endmacro() |
|
|
|
endmacro() |
|
|
|
_check_and_save_build_option(WITH_ZLIB @protobuf_WITH_ZLIB@) |
|
|
|
_check_and_save_build_option(WITH_ZLIB @protobuf_WITH_ZLIB@) |
|
|
|
_check_and_save_build_option(MSVC_STATIC_RUNTIME @protobuf_MSVC_STATIC_RUNTIME@) |
|
|
|
_check_and_save_build_option(MSVC_STATIC_RUNTIME @protobuf_MSVC_STATIC_RUNTIME@) |
|
|
|