mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
Add a helper to select architecture-specific implementations of a package on an Apple-specific platform. Fixes: #25516
9 lines
211 B
CMake
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")
|