fixes missing CUnit include dir

Sun, 07 Feb 2021 16:52:21 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 07 Feb 2021 16:52:21 +0100
changeset 395
dc1bfe5ffd38
parent 394
80c31ebd66c1
child 396
3539dd99ab92

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()

mercurial