mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-09 01:09:30 -05:00
This also introduces CMP0087 which will keep the OLD behaviour of not evaluating generator expressions Fixes: #15785
9 lines
399 B
CMake
9 lines
399 B
CMake
execute_process(COMMAND ${CMAKE_COMMAND} -P ${RunCMake_TEST_BINARY_DIR}/cmake_install.cmake
|
|
OUTPUT_VARIABLE out ERROR_VARIABLE err)
|
|
|
|
if(NOT out MATCHES "-- Install configuration: .*-- \\$<TARGET_PROPERTY:codegenexlib,NAME>")
|
|
string(REGEX REPLACE "\n" "\n " out " ${out}")
|
|
string(APPEND RunCMake_TEST_FAILED
|
|
"\"-- $<TARGET_PROPERTY:codegenexlib,NAME>\" was not found:\n${out}")
|
|
endif()
|