Sun, 07 Feb 2021 16:52:21 +0100
fixes missing CUnit include dir
test/CMakeLists.txt | file | annotate | diff | comparison | revisions |
--- a/test/CMakeLists.txt Sun Feb 07 16:24:41 2021 +0100 +++ b/test/CMakeLists.txt Sun Feb 07 16:52:21 2021 +0100 @@ -15,6 +15,7 @@ foreach(test ${TESTS}) add_executable(${test} ${test}.c) target_link_libraries(${test} PRIVATE ucx_static ${CUNIT_LIBRARY}) + target_include_directories(${test} PRIVATE ${CUNIT_INCLUDE_DIR}) add_test(NAME ${test} COMMAND ${test} WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}") endforeach() else()