CMake/Tests/FindGIF/CMakeLists.txt
Maximilian Heinzler 6962a41e6b FindGIF: Add test
This tests whether GIFLIB can be found and the linker works. For newer
versions (>=5) it also tests if the version was parsed correctly.
2018-11-20 21:07:03 +01:00

11 lines
343 B
CMake

add_test(NAME FindGIF.Test COMMAND
${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
--build-and-test
"${CMake_SOURCE_DIR}/Tests/FindGIF/Test"
"${CMake_BINARY_DIR}/Tests/FindGIF/Test"
${build_generator_args}
--build-project TestFindGIF
--build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
)