mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add zint-test's testcommon include directory to consumers of the library
This commit is contained in:
parent
386a8059d3
commit
fd656358a3
@ -25,10 +25,12 @@ set(testcommon_SRCS testcommon.c testcommon.h)
|
||||
|
||||
add_library(testcommon ${testcommon_SRCS})
|
||||
target_link_libraries(testcommon zint)
|
||||
target_include_directories(testcommon PUBLIC ${zint_backend_tests_SOURCE_DIR})
|
||||
|
||||
if(ZINT_STATIC)
|
||||
add_library(testcommon-static ${testcommon_SRCS})
|
||||
target_link_libraries(testcommon-static zint-static)
|
||||
target_include_directories(testcommon-static PUBLIC ${zint_backend_tests_SOURCE_DIR})
|
||||
endif()
|
||||
|
||||
macro(zint_add_test test_name test_command)
|
||||
|
Loading…
Reference in New Issue
Block a user