Commit 673d32e0 authored by Konstantin Podsvirov's avatar Konstantin Podsvirov

Rename CMake option BUILD_TESTING to protobuf_BUILD_TESTS

parent 2fa0439b
...@@ -9,7 +9,7 @@ cmake_policy(SET CMP0022 NEW) ...@@ -9,7 +9,7 @@ cmake_policy(SET CMP0022 NEW)
# Options # Options
option(protobuf_VERBOSE "Enable for verbose output" OFF) option(protobuf_VERBOSE "Enable for verbose output" OFF)
option(BUILD_TESTING "Build tests" ON) option(protobuf_BUILD_TESTS "Build tests" ON)
option(BUILD_SHARED_LIBS "Build Shared Libraries" OFF) option(BUILD_SHARED_LIBS "Build Shared Libraries" OFF)
option(protobuf_MSVC_STATIC_RUNTIME "Link static runtime libraries" ON) option(protobuf_MSVC_STATIC_RUNTIME "Link static runtime libraries" ON)
if (MSVC) if (MSVC)
...@@ -136,8 +136,8 @@ include(libprotobuf.cmake) ...@@ -136,8 +136,8 @@ include(libprotobuf.cmake)
include(libprotoc.cmake) include(libprotoc.cmake)
include(protoc.cmake) include(protoc.cmake)
if (BUILD_TESTING) if (protobuf_BUILD_TESTS)
include(tests.cmake) include(tests.cmake)
endif (BUILD_TESTING) endif (protobuf_BUILD_TESTS)
include(install.cmake) include(install.cmake)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment