Turn zint tests into a subproject of backend

All dependency handling is implied via linking to the zint target. Options
are inherited from the backend build
This commit is contained in:
Schaich
2021-03-22 19:44:05 +09:00
parent 83bac8c8a5
commit 3e89058051
2 changed files with 5 additions and 50 deletions

View File

@ -47,3 +47,7 @@ endif()
install(TARGETS zint ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES zint.h DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel)
if(ZINT_TEST)
add_subdirectory(tests)
endif(ZINT_TEST)