summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePackage/apple-export-unsupported-capture.cmake
blob: e712bb2d6aa12d123944472b9258338ffc549ed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include(apple-common.cmake)

include(CMakePackageConfigHelpers)
generate_apple_platform_selection_file(bad-platform-capture-config-install.cmake
  INSTALL_DESTINATION lib/cmake/bad-platform-capture
  INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}
  ERROR_VARIABLE bad-platform-capture_unsupported
  )
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad-platform-capture-config-install.cmake DESTINATION lib/cmake/bad-platform-capture RENAME bad-platform-capture-config.cmake)

generate_apple_architecture_selection_file(bad-arch-capture-config-install.cmake
  INSTALL_DESTINATION lib/cmake/bad-arch-capture
  INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}
  ERROR_VARIABLE bad-arch-capture_unsupported
  )
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad-arch-capture-config-install.cmake DESTINATION lib/cmake/bad-arch-capture RENAME bad-arch-capture-config.cmake)