This is an automated email from the ASF dual-hosted git repository. anirudh2290 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push: new be89d20 Add dependency for cpp tests (#17520) be89d20 is described below commit be89d2017441ec023ec868f4e733f04eb573f4bc Author: Anirudh Subramanian <anirudh2...@ufl.edu> AuthorDate: Tue Feb 4 19:20:21 2020 -0800 Add dependency for cpp tests (#17520) --- tests/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e1e8884..745251e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -37,6 +37,9 @@ if(GTEST_FOUND AND NOT MSVC) add_executable(${PROJECT_NAME}_unit_tests ${UNIT_TEST_SOURCE}) set_property(TARGET ${PROJECT_NAME}_unit_tests PROPERTY RUNTIME_OUTPUT_DIRECTORY ${PRIVATE_RUNTIME_DIR}) + if (USE_CPP_PACKAGE) + add_dependencies(${PROJECT_NAME}_unit_tests cpp_package_op_h) + endif() if(UNITTEST_STATIC_LINK) target_link_libraries(${PROJECT_NAME}_unit_tests