From 673d32e0930bd87536da71b3bf1d0c6c3d098833 Mon Sep 17 00:00:00 2001 From: Konstantin Podsvirov Date: Tue, 15 Sep 2015 15:30:02 +0300 Subject: Rename CMake option BUILD_TESTING to protobuf_BUILD_TESTS --- cmake/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmake/CMakeLists.txt') diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 6a4ec2f4..50e60f34 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -9,7 +9,7 @@ cmake_policy(SET CMP0022 NEW) # Options 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(protobuf_MSVC_STATIC_RUNTIME "Link static runtime libraries" ON) if (MSVC) @@ -136,8 +136,8 @@ include(libprotobuf.cmake) include(libprotoc.cmake) include(protoc.cmake) -if (BUILD_TESTING) +if (protobuf_BUILD_TESTS) include(tests.cmake) -endif (BUILD_TESTING) +endif (protobuf_BUILD_TESTS) include(install.cmake) -- cgit v1.2.3