Files
CMake/Modules/Internal/AppleArchitectureSelection.cmake.in
Brad King 4ac5a2f866 CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file()
Add a helper to select architecture-specific implementations of a
package on an Apple-specific platform.

Fixes: #25516
2023-12-19 08:56:30 -05:00

9 lines
211 B
CMake

@PACKAGE_INIT@
if(NOT CMAKE_OSX_ARCHITECTURES)
message(FATAL_ERROR "CMAKE_OSX_ARCHITECTURES must be explicitly set for this package")
endif()
@_branch_code@
message(FATAL_ERROR "Architecture not supported")