- Update to 3.25.0
* The “find_file()”, “find_path()”, “find_library()”, and
“find_program()” commands gained a “VALIDATOR” option to
specify a function to be called for each candidate item
to validate it.
* The “try_compile()” and “try_run()” commands gained new
signatures that more consistently use keyword dispatch
and do not require a binary directory to be specified.
* The “add_subdirectory()” command gained a “SYSTEM” option
to enable the “SYSTEM” directory property in the
subdirectory.
* The “block()” and “endblock()” commands were added to manage
specific scopes (policy or variable) for a contained block
of commands.
* The “return()” command gained a “PROPAGATE” option to
propagate variables to the scope to which control returns.
* The “LINUX” and “CMAKE_HOST_LINUX” variables are now set
to true when the target or host system is Linux,
respectively.
OBS-URL: https://build.opensuse.org/request/show/1036397
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=510
- Update to 3.24.1:
* automoc: avoid compiler warnings in linker-warning-silencing code
* FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
* IPO: Do not use -flto=auto with GCC 10.x on Windows
* export: Restore exclusion of private shared library dependencies from checks
* FindVulkan: Restore tolerance of unknown FATAL_ERROR component
* Help: Add 3.24 release note about FindVulkan component enforcement
* TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property
* Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR
* Help: A missing cross-reference to --compile-no-warning-as-error
OBS-URL: https://build.opensuse.org/request/show/997696
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=500
- update to 3.23.2:
* The ``CPACK_PACKAGEMAKER_CHOICES`` variable used in the
``CPack.distribution.dist.in`` template file was replaced by a new
``CPACK_APPLE_PKG_INSTALLER_CONTENT`` variable in CMake 3.23.0.
This broke projects that provided their own template file but still
expected the ``CPACK_PACKAGEMAKER_CHOICES`` variable to be defined.
The old ``CPACK_PACKAGEMAKER_CHOICES`` variable is now also set to the
same content as it was before, but it is formally deprecated.
- Edit cmake.macros: Stop injecting -DNDEBUG at the end of
CFLAGS. It's impossible to override by re-setting CFLAGS, and
if it were really wanted globally, it should be in %optflags
instead.
OBS-URL: https://build.opensuse.org/request/show/980819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=216
* The ``CPACK_PACKAGEMAKER_CHOICES`` variable used in the
``CPack.distribution.dist.in`` template file was replaced by a new
``CPACK_APPLE_PKG_INSTALLER_CONTENT`` variable in CMake 3.23.0.
This broke projects that provided their own template file but still
expected the ``CPACK_PACKAGEMAKER_CHOICES`` variable to be defined.
The old ``CPACK_PACKAGEMAKER_CHOICES`` variable is now also set to the
same content as it was before, but it is formally deprecated.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=492
- update to 3.23.1:
* The target_sources() FILE_SET feature added in CMake 3.23.0 does not yet
place header files properly in Apple FRAMEWORK targets. Pending further
work in a future version of CMake, it is now an error to add a FILE_SET of
type HEADERS to such targets on Apple platforms.
* The HEADER_SETS and INTERFACE_HEADER_SETS target properties added in CMake
3.23.0 are now read-only records of the header sets created by the
target_sources() command.
OBS-URL: https://build.opensuse.org/request/show/969999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=215
* The target_sources() FILE_SET feature added in CMake 3.23.0 does not yet
place header files properly in Apple FRAMEWORK targets. Pending further
work in a future version of CMake, it is now an error to add a FILE_SET of
type HEADERS to such targets on Apple platforms.
* The HEADER_SETS and INTERFACE_HEADER_SETS target properties added in CMake
3.23.0 are now read-only records of the header sets created by the
target_sources() command.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=489
* The while() command again ignores errors in condition evaluation as CMake
3.21 and below did. This bug was fixed in 3.22.0, but exposed errors in
existing projects. The fix has been reverted to restore compatibility. The
fix may be restored in a future version of CMake via a policy.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=482