From 98d89d427708af776eba79850060dccca7882a5a Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Mon, 19 Dec 2016 13:26:21 -0800 Subject: Fixed "make check" for cmake build The check target did not depend on the test_plugin binary, so this would cause "make check" to fail at times because of the absence of test_plugin. This change adds a dependency on test_plugin so that it will always get built before the tests are executed. --- cmake/tests.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/tests.cmake b/cmake/tests.cmake index 30214e7d..bf8e5a6c 100644 --- a/cmake/tests.cmake +++ b/cmake/tests.cmake @@ -214,4 +214,5 @@ target_link_libraries(lite-arena-test libprotobuf-lite gmock_main) add_custom_target(check COMMAND tests + DEPENDS tests test_plugin WORKING_DIRECTORY ${protobuf_source_dir}) -- cgit v1.2.3