| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Package configuration files generated by `configure_package_config_file`
set this variable in `@PACKAGE_INIT@` and then use it later. There may
be intervening calls to `find_package`, e.g., via `find_dependency`.
If the loaded package also used `configure_package_config_file`, it
may change the value of `PACKAGE_PREFIX_DIR`. Explicitly save and
restore the value to avoid this.
Fixes: #25827
|
|
|
|
| |
Issue: #25827
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert commit 6ddf8712cd (CMakePackageConfigHelpers: Use unique variable
name for pkg prefix, 2024-03-30, v3.29.1~8^2). It regressed existing
projects that rely on the undocumented `PACKAGE_PREFIX_DIR` variable in
package configuration files generated by `CMakePackageConfigHelpers`.
Fixes: #25873
Fixes: #25885
Issue: #25827
|
|
|
|
| |
Fixes: #25827
|
|
|
|
|
|
|
| |
Add an option to capture error messages in a variable instead of
terminating with a fatal error.
Fixes: #25778
|
|
|
|
|
|
| |
Also add a test case.
Fixes: #25780
|
|
|
|
|
|
|
| |
Allow callers to pass multiple values to list-valued arguments
instead of putting the entire list in a single quoted argument.
Fixes: #25779
|
|
|
|
|
| |
Call `generate_apple_architecture_selection_file` with matching order in
`SINGLE_ARCHITECTURES` and `SINGLE_ARCHITECTURE_INCLUDE_FILES`.
|
|
|
|
| |
Use every architecture each version of Xcode has in `$(ARCHS_STANDARD)`.
|
|
|
|
|
|
|
|
|
| |
Xcode 15.2 officially includes the visionOS SDKs.
Fix a typo from commit 2a398cd9b6 (CMakePackageConfigHelpers: Clarify
generate_apple_*_selection_file signatures, 2024-01-04) to make it pass.
Issue: #25266
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The helpers added by:
* commit 37bc3400cd (CMakePackageConfigHelpers: Add
generate_apple_platform_selection_file(), 2023-11-03)
* commit 4ac5a2f866 (CMakePackageConfigHelpers: Add
generate_apple_architecture_selection_file(), 2023-12-19)
were worded in terms of including package configuration files, but the
actual functionality is to include files *from* package configuration
files. The included files do not themselves need to be usable as
package configuration files.
Rename the options and clarify the documentation accordingly.
Issue: #25262
Issue: #25516
|
|
|
|
|
|
|
| |
Add a helper to select architecture-specific implementations of a
package on an Apple-specific platform.
Fixes: #25516
|
|
|
|
| |
This is necessary to forward to `configure_package_config_file`.
|
| |
|
|
|
|
| |
`generate_apple_platform_selection_file` requires `INSTALL_DESTINATION`.
|
|
The test added by commit 37bc3400cd (CMakePackageConfigHelpers: Add
generate_apple_platform_selection_file(), 2023-11-03) covers importing
only on macOS, and is specific to the xcframework test case. Add a
dedicated test for `generate_apple_platform_selection_file` that covers
export and import on all platforms.
|