mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
- With this change we can use e.g. ImageMagick::Magick++ directly in targt_link_libraries. - This change also adds CFLAGS which was missing before. - Also adds example on how to use the targets.
11 lines
375 B
CMake
11 lines
375 B
CMake
add_test(NAME FindImageMagick.Test COMMAND
|
|
${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
|
|
--build-and-test
|
|
"${CMake_SOURCE_DIR}/Tests/FindImageMagick/Test"
|
|
"${CMake_BINARY_DIR}/Tests/FindImageMagick/Test"
|
|
${build_generator_args}
|
|
--build-project TestFindImageMagick
|
|
--build-options ${build_options}
|
|
--test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
|
|
)
|