diff options
author | Lei Zhang <antiagainst@google.com> | 2017-11-30 20:02:45 -0500 |
---|---|---|
committer | David Neto <dneto@google.com> | 2017-12-22 10:11:18 -0500 |
commit | 2741bade14f1ab23f3b90f0e5c77c6b935fc2fff (patch) | |
tree | b9072aa3fe4b34bdc42a591fd220f5dbc4387dcc | |
parent | 51e7e5a2a3d17611cb9a3555732f27a37ff81b41 (diff) | |
download | effcee-2741bade14f1ab23f3b90f0e5c77c6b935fc2fff.tar.gz |
Apply EXCLUDE_FROM_ALL to external projects
-rw-r--r-- | third_party/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 4137510..9ef4a22 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -26,7 +26,7 @@ endif() if(EFFCEE_BUILD_TESTING) if (NOT TARGET gmock) if (IS_DIRECTORY ${EFFCEE_GOOGLETEST_DIR}) - add_subdirectory(${EFFCEE_GOOGLETEST_DIR} googletest) + add_subdirectory(${EFFCEE_GOOGLETEST_DIR} googletest EXCLUDE_FROM_ALL) endif() endif() if (NOT TARGET gmock) @@ -36,7 +36,7 @@ endif() if (NOT TARGET re2) if (IS_DIRECTORY ${EFFCEE_RE2_DIR}) - add_subdirectory(${EFFCEE_RE2_DIR} re2) + add_subdirectory(${EFFCEE_RE2_DIR} re2 EXCLUDE_FROM_ALL) endif() endif() if (NOT TARGET re2) |