mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 22:58:41 +00:00
9b08c62330
Imported targets are now the recommended way of dealing with external library dependencies. Add one for FindPNG and update documentation accordingly. Also add a test case activated by CMake_TEST_FindPNG.
11 lines
343 B
CMake
11 lines
343 B
CMake
add_test(NAME FindPNG.Test COMMAND
|
|
${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
|
|
--build-and-test
|
|
"${CMake_SOURCE_DIR}/Tests/FindPNG/Test"
|
|
"${CMake_BINARY_DIR}/Tests/FindPNG/Test"
|
|
${build_generator_args}
|
|
--build-project TestFindPNG
|
|
--build-options ${build_options}
|
|
--test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
|
|
)
|