summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresetsPackage/Good-package-config-file-check.cmake
blob: 40240f97d3dfa7b301196cf053931de0d9f55dd8 (plain)
1
2
3
4
5
6
include("${RunCMake_TEST_BINARY_DIR}/default/CPackConfig.cmake")

set(filename "${RunCMake_TEST_BINARY_DIR}/default/_CPack_Packages/${CPACK_TOPLEVEL_TAG}/TGZ/config-file-alt.tar.gz")
if(NOT EXISTS "${filename}")
  set(RunCMake_TEST_FAILED "Expected ${filename} to exist but it does not")
endif()