diff options
author | Gergely Nagy <ngg@ngg.hu> | 2020-05-24 16:45:20 +0200 |
---|---|---|
committer | Gergely Nagy <ngg@ngg.hu> | 2020-05-24 16:48:39 +0200 |
commit | 0a9f9b67eb6012b3a4ca77f7c2a70c97717b5dcb (patch) | |
tree | 417b9d69e21409f0bd8a186f478f91c321d3ee4c | |
parent | 87082741b1cc0a97cd84bd17cd4ee41d70a42fc6 (diff) | |
download | bloaty-0a9f9b67eb6012b3a4ca77f7c2a70c97717b5dcb.tar.gz |
Disable installing Google Test targets.
When CMake was invoked with -DBUILD_TESTING=ON, Google Test targets
were also installed when calling "make install".
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 08965ac..39d1fa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -249,6 +249,7 @@ else() enable_testing() if(BUILD_TESTING) + set(INSTALL_GTEST OFF) add_subdirectory(third_party/googletest) include_directories(third_party/googletest/googletest/include) include_directories(third_party/googletest/googlemock/include) |