<div class="container">
<h1>Recommended update for cmake3</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-RU-2024:2311-1</td>
</tr>
<tr>
<th>Rating:</th>
<td>moderate</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1172267">bsc#1172267</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1172331">bsc#1172331</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1174581">bsc#1174581</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1181680">bsc#1181680</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1226316">bsc#1226316</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">openSUSE Leap 15.5</li>
<li class="list-group-item">openSUSE Leap 15.6</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Micro 5.5</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP6</li>
<li class="list-group-item">SUSE Package Hub 15 15-SP5</li>
<li class="list-group-item">SUSE Package Hub 15 15-SP6</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that has five fixes can now be installed.</p>
<h2>Description:</h2>
<p>This update for cmake3 fixes the following issues:</p>
<ul>
<li>
<p>Needed for Firefox 128 (bsc#1226316)
(Dependency chain: cmake3 -> Rust1.78 -> Firefox)</p>
</li>
<li>
<p>Update to 3.20.0</p>
</li>
<li>
<p>The “cmake_path()” command was added for operations on
filesystem paths.</p>
</li>
<li>The “target_sources()” command now supports targets created
by the “add_custom_target()” command.</li>
<li>The “ExternalProject” module “ExternalProject_Add()” function
gained a “CONFIGURE_HANDLED_BY_BUILD” option.</li>
<li>
<p>“ctest(1)” gained a “–test-dir” option to specify the directory
in which to look for tests.</p>
</li>
<li>
<p>update to 3.19.7:</p>
</li>
<li>
<p>With :ref:<code>Visual Studio Generators</code> for VS 2017 and higher, the
:variable:<code>CMAKE_GENERATOR_TOOLSET</code> field <code>version=</code> now accepts
three-component MSVC toolset versions such as <code>14.28.29910</code>.
See the :variable:<code>CMAKE_VS_PLATFORM_TOOLSET_VERSION</code> variable.</p>
</li>
<li>
<p>cmake 3.19.6:</p>
</li>
<li>
<p>The cmake-presets(7) feature no longer allows comments in
CMakePresets.json or CMakeUserPresets.json files. This was
mistakenly allowed by the implementation in 3.19.0 to 3.19.5</p>
</li>
<li>
<p>Update to CMake 3.19.5</p>
</li>
<li>
<p>FindBoost: Add support for Boost 1.75</p>
</li>
<li>
<p>FindCUDAToolkit: Restore use of CUDA_PATH environment variable</p>
</li>
<li>
<p>cmake 3.19.4:</p>
</li>
<li>
<p>fixes for other platforms</p>
</li>
<li>
<p>cmake 3.19.3:</p>
</li>
<li>
<p>FetchContent: Relative SOURCE_DIR override cannot be a hard error</p>
</li>
<li>FindMPI: remove single quotes from include path</li>
<li>FindHDF5: Fix finding both debug and release libs</li>
<li>cmake-gui: Restore linking of Qt resources</li>
<li>
<p>cmMakefile: Don't expand bracket arguments in --trace-expand</p>
</li>
<li>
<p>update to 3.19.2:</p>
</li>
<li>
<p>various Apple-Silicon support fixes</p>
</li>
<li>
<p>The CMAKE_ISPC_HEADER_SUFFIX variable and corresponding ISPC_HEADER_SUFFIX
target property were added to control the header suffix used by ISPC
compiler generated headers.</p>
</li>
<li>
<p>cmake 3.19.1:</p>
</li>
<li>
<p>avoid breaking projects relying on using the LANGUAGE property
to cause the specified language's compiler to be used</p>
</li>
<li>
<p>CUDA 11.1 support for Clang.</p>
</li>
<li>
<p>cmake 3.19.0:</p>
</li>
<li>
<p>cmake(1) and cmake-gui(1) now recognize CMakePresets.json and
CMakeUserPresets.json files</p>
</li>
<li>support for ISPC</li>
<li>exctend CUDA language support for Clang</li>
<li>extend cmake-file-ap "codemodel"</li>
<li>cli --install supports --default-directory-permissions</li>
<li>cli supports creating hardlinks</li>
<li>CMake GUI now has an environment variable editor</li>
<li>Multiple cmake commands support new options and subcommands</li>
<li>Multiple variables added or functionalities extended</li>
<li>Multiple new modules and added functionality to existing modules</li>
<li>Compatibility with versions of CMake older than 2.8.12 is now
deprecated and will be removed from a future version. Calls to
cmake_minimum_required() or cmake_policy() that set the policy
version to an older value now issue a deprecation diagnostic.</li>
<li>
<p>cmake-gui now requires Qt5</p>
</li>
<li>
<p>cmake 3.18.4:</p>
</li>
<li>
<p>no upstream changelog</p>
</li>
<li>
<p>update to 3.18.3:</p>
</li>
<li>
<p>The Compile Features functionality was updated for MSVC 19.28</p>
</li>
<li>
<p>reapply this change (bsc#1174581):</p>
</li>
<li>Fix setting CMAKE_INSTALL_LIBDIR in cmake macro</li>
<li>
<p>This is a relative path, see <code>cmake --help-module GNUInstallDirs</code>
see also
https://gitlab.kitware.com/cmake/cmake/-/issues/20250
https://github.com/arvidn/libtorrent/issues/5125#issuecomment-691559244</p>
</li>
<li>
<p>update to 3.18.2:</p>
</li>
<li>
<p>The default value of :variable:<code>CMAKE_AUTOMOC_PATH_PREFIX</code> was changed to
<code>OFF</code> because this feature can break existing projects that have
identically named header files in different include directories.
This restores compatibility with behavior of CMake 3.15 and below.</p>
</li>
<li>
<p>The :manual:<code>Compile Features <cmake-compile-features(7)></code> functionality
was updated for MSVC 19.27 as mentioned above.</p>
</li>
<li>
<p>cmake 3.18.1:</p>
</li>
<li>
<p>Revert undocumented fix in 3.18.0 in the add_test() command
for special characters to avoid breaking existing projects that
worked around the issue. Will be reintroduced later</p>
</li>
<li>
<p>update to cmake 3.18.0</p>
</li>
<li>
<p>The “CUDA” language can now be compiled using Clang on non-Windows platforms.</p>
</li>
<li>“cmake(1)” gained support for profiling of CMake scripts</li>
<li>The “cmake_language()” command was added for meta-operations on
scripted or built-in commands, starting with a mode to “CALL” other
commands, and “EVAL CODE” to inplace evaluate a CMake script.</li>
<li>The “find_program()”, “find_library()”, “find_path()” and
“find_file()” commands gained a new “REQUIRED” option that will stop
processing with an error message if nothing is found.</li>
<li>The “CheckLinkerFlag” module has been added to provide a facility to
check validity of link flags.</li>
<li>
<p>“ccmake(1)” learned to read a “CCMAKE_COLORS” environment variable
to customize colors.</p>
</li>
<li>
<p>DCMAKE_MODULES_INSTALL_DIR should be %{_libdir}/cmake/%{name}</p>
</li>
<li>Set CMAKE_INSTALL_LIBEXECDIR=%{_libexecdir}</li>
<li>
<p>Use -DCMAKE_SKIP_INSTALL_RPATHS:BOOL=ON instead of completely
removing rpaths. bsc#1172331</p>
</li>
<li>
<p>cmake 3.17.3:</p>
</li>
<li>
<p>Selection of the Objective C or C++ compiler now considers the
CC or CXX environment variable if the OBJC or OBJCXX
environment variable is not set</p>
</li>
<li>The FindPkgConfig module now extracts include directories
prefixed with -isystem into the *_INCLUDE_DIRS variables and
INTERFACE_INCLUDE_DIRECTORIES target properties</li>
<li>
<p>FindOpenSSL: Detect OpenSSL 3.0.0 (bsc#1172267)</p>
</li>
<li>
<p>cmake 3.17.2:</p>
</li>
<li>
<p>fixes dealing with boost 1.73</p>
</li>
<li>
<p>cmake 3.17.1:</p>
</li>
<li>
<p>The :cpack_gen:<code>CPack NSIS Generator</code> now requires NSIS 3.0 or later</p>
</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
openSUSE Leap 15.5
<br/>
<code>zypper in -t patch openSUSE-SLE-15.5-2024-2311=1</code>
</li>
<li class="list-group-item">
openSUSE Leap 15.6
<br/>
<code>zypper in -t patch openSUSE-SLE-15.6-2024-2311=1</code>
</li>
<li class="list-group-item">
SUSE Package Hub 15 15-SP5
<br/>
<code>zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-2311=1</code>
</li>
<li class="list-group-item">
SUSE Package Hub 15 15-SP6
<br/>
<code>zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2024-2311=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
<ul>
<li>cmake3-3.20.0-150200.6.3.1</li>
<li>cmake3-full-debuginfo-3.20.0-150200.6.3.1</li>
<li>rust-cbindgen-0.26.0+git0-150200.6.3.1</li>
<li>cmake3-full-3.20.0-150200.6.3.1</li>
<li>cmake3-full-debugsource-3.20.0-150200.6.3.1</li>
</ul>
</li>
<li>
openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64)
<ul>
<li>cmake3-3.20.0-150200.6.3.1</li>
<li>cmake3-full-debuginfo-3.20.0-150200.6.3.1</li>
<li>rust-cbindgen-0.26.0+git0-150200.6.3.1</li>
<li>cmake3-full-3.20.0-150200.6.3.1</li>
<li>cmake3-full-debugsource-3.20.0-150200.6.3.1</li>
</ul>
</li>
<li>
SUSE Package Hub 15 15-SP5 (aarch64 ppc64le s390x x86_64)
<ul>
<li>rust-cbindgen-0.26.0+git0-150200.6.3.1</li>
</ul>
</li>
<li>
SUSE Package Hub 15 15-SP6 (aarch64 ppc64le s390x x86_64)
<ul>
<li>rust-cbindgen-0.26.0+git0-150200.6.3.1</li>
</ul>
</li>
</ul>
<h2>References:</h2>
<ul>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1172267">https://bugzilla.suse.com/show_bug.cgi?id=1172267</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1172331">https://bugzilla.suse.com/show_bug.cgi?id=1172331</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1174581">https://bugzilla.suse.com/show_bug.cgi?id=1174581</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1181680">https://bugzilla.suse.com/show_bug.cgi?id=1181680</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1226316">https://bugzilla.suse.com/show_bug.cgi?id=1226316</a>
</li>
</ul>
</div>