###############################################################################
# CMakeLists for CommonCodec tests
###############################################################################

MIRA_REQUIRE_PACKAGE(CommonCodecs)

###############################################################################

MIRA_ADD_TEST(ImgCodecTest
    SOURCE
	    ImgCodecTest.C
	LINK_LIBS
		MIRABase
		CommonCodecs
		${OPENCV_HIGHGUI_LIBRARY}
)

###############################################################################

MIRA_ADD_BINARY(JpegPngCodecTest
	PACKAGE CommonCodecs
	SOURCE
		JpegPngCodecTest.C
	LINK_LIBS
		CommonCodecs
		${OPENCV_HIGHGUI_LIBRARY}
	DONT_INSTALL
)

MIRA_ADD_BINARY(ZCodecTest
	PACKAGE CommonCodecs
	SOURCE
		ZCodecTest.C
	LINK_LIBS
		CommonCodecs
		${OPENCV_HIGHGUI_LIBRARY}
	DONT_INSTALL
)

