aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2017-05-07 14:39:35 +0200
committerDavid Neto <dneto@google.com>2017-05-08 11:15:41 -0400
commit1e84eab7b9a324e34745084ff201ed930bc2a8dc (patch)
tree255fba37aa35a27e29f1ceb94b3e7814b2808d69 /third_party
parentf338d1e7587dfe3790f45a096574de2b4718e9d9 (diff)
downloadeffcee-1e84eab7b9a324e34745084ff201ed930bc2a8dc.tar.gz
Add EFFCEE_BUILD_TESTING to control making tests
Diffstat (limited to 'third_party')
-rw-r--r--third_party/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index cfb5f78..9046573 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -9,7 +9,7 @@ set(EFFCEE_RE2_DIR "${EFFCEE_THIRD_PARTY_ROOT_DIR}/re2" CACHE STRING
"Location of re2 source")
# Configure third party projects.
-if(${EFFCEE_ENABLE_TESTS})
+if(EFFCEE_BUILD_TESTING)
if (IS_DIRECTORY ${EFFCEE_GOOGLETEST_DIR})
add_subdirectory(${EFFCEE_GOOGLETEST_DIR} googletest)
endif()