make check depends on opustags

This commit is contained in:
Frédéric Mangano-Tarumi 2018-10-31 18:24:58 -04:00
parent dd364c6262
commit a2eb11cbe3

View File

@ -23,4 +23,4 @@ include(GNUInstallDirs)
install(TARGETS opustags DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(FILES opustags.1 DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
add_custom_target(check COMMAND prove "${CMAKE_SOURCE_DIR}/t")
add_custom_target(check COMMAND prove "${CMAKE_SOURCE_DIR}/t" DEPENDS opustags)