summaryrefslogtreecommitdiff
path: root/tests/unit/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/CMakeLists.txt')
-rw-r--r--tests/unit/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt
index 984cedc3..d6bca7ad 100644
--- a/tests/unit/CMakeLists.txt
+++ b/tests/unit/CMakeLists.txt
@@ -5,10 +5,14 @@ include_directories(
${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
)
+add_executable(testempty0 testempty0.c)
add_executable(testempty1 testempty1.c)
add_executable(testempty2 testempty2.c)
+
+target_link_libraries(testempty0 openjp2)
target_link_libraries(testempty1 openjp2)
target_link_libraries(testempty2 openjp2)
+add_test(testempty0 ${EXECUTABLE_OUTPUT_PATH}/testempty0)
add_test(testempty1 ${EXECUTABLE_OUTPUT_PATH}/testempty1)
add_test(testempty2 ${EXECUTABLE_OUTPUT_PATH}/testempty2)