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