From 32bdc38400258b24edb37990cc8cba057a3297de Mon Sep 17 00:00:00 2001 From: Gil Date: Wed, 6 Dec 2017 16:10:59 -0800 Subject: 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. --- cmake/utils.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cmake/utils.cmake') 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() -- cgit v1.2.3