984cedc349caeb983a392ba0dace1cdb7749ba41
[openjpeg.git] / tests / unit / CMakeLists.txt
1 # UNIT TESTS 
2
3 include_directories(
4   ${OPENJPEG_BINARY_DIR}/src/lib/openjp2 # opj_config.h
5   ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
6 )
7
8 add_executable(testempty1 testempty1.c)
9 add_executable(testempty2 testempty2.c)
10 target_link_libraries(testempty1 openjp2)
11 target_link_libraries(testempty2 openjp2)
12
13 add_test(testempty1 ${EXECUTABLE_OUTPUT_PATH}/testempty1)
14 add_test(testempty2 ${EXECUTABLE_OUTPUT_PATH}/testempty2)