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

mercurial