aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/utils.cmake
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2017-12-06 16:10:59 -0800
committerGravatar GitHub <noreply@github.com>2017-12-06 16:10:59 -0800
commit32bdc38400258b24edb37990cc8cba057a3297de (patch)
tree1bf6bfda76e3fd5d0119d63d4544e9d6710ce264 /cmake/utils.cmake
parentcb5f3efd3ab53561afd7de625d16d014d14374dd (diff)
Rework the top-level cmake build to be a superproject (#538)
All projects are now ExternalProjects This makes it much easier to build them all in a single pass.
Diffstat (limited to 'cmake/utils.cmake')
-rw-r--r--cmake/utils.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/utils.cmake b/cmake/utils.cmake
index 40e2325..54044d6 100644
--- a/cmake/utils.cmake
+++ b/cmake/utils.cmake
@@ -23,7 +23,5 @@ function(cc_test name)
add_executable(${name} ${ARGN})
add_test(${name} ${name})
- target_link_libraries(${name} gtest gtest_main)
-
- add_dependencies(check ${name})
+ target_link_libraries(${name} GTest::GTest GTest::Main)
endfunction()