summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/CODE-genex-check.cmake
blob: 422c53202cf8e7e6eceac05a719aa8abdd6b1db1 (plain)
1
2
3
4
5
6
7
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: .*-- codegenexlib")
  string(REGEX REPLACE "\n" "\n  " out "  ${out}")
  string(APPEND RunCMake_TEST_FAILED
      "\"-- codegenexlib\" was not found:\n${out}")
endif()