# Development

**URL:** https://discourse.cmake.org/c/development/9.md?page=10

[Latest](https://discourse.cmake.org/latest.md) · [Categories](https://discourse.cmake.org/categories.md) · [Tags](https://discourse.cmake.org/tags.md)

**Page:** 11

---

## [missing bootstrap in linux cmake-3.21.4-linux-x86\_64.tar.gz -file](https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799)

<div class="topic-metadata">

**Author:** [@jul1gmake](https://discourse.cmake.org/u/jul1gmake)\
**Replies:** 5\
**Last updated:** [January 19, 2024, 7:26pm UTC](https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799 "2024-01-19T19:26:13Z")

</div>

Today I downloaded the cmake source-file mentioned in the subject (size 44684259) and wanted to install, but this failed. According to the instructions (on https://vitux.com/how-to-install-cmake-on-ubuntu/ : "Finally, …

---

## [Integration of zlib 1.2.13 in Utilities/cmzlib](https://discourse.cmake.org/t/integration-of-zlib-1-2-13-in-utilities-cmzlib/9814)

<div class="topic-metadata">

**Author:** [@Chris06](https://discourse.cmake.org/u/Chris06)\
**Replies:** 2\
**Last updated:** [January 10, 2024, 10:08am UTC](https://discourse.cmake.org/t/integration-of-zlib-1-2-13-in-utilities-cmzlib/9814 "2024-01-10T10:08:12Z")

</div>

The last version of zlib integrated in CMake 3.28.1 is version 1.2.12. However zlib version 1.2.13 fixes CVE-2022-37434 (NVD - CVE-2022-37434). When do you plan to integrate version 1.2.13 of zlib into CMake?

---

## [\[RFC\] Add ability to create source\_group at target level and derive it via PUBLIC/INTERFACE/PRIVATE](https://discourse.cmake.org/t/rfc-add-ability-to-create-source-group-at-target-level-and-derive-it-via-public-interface-private/7388)

<div class="topic-metadata">

**Author:** [@leha-bot](https://discourse.cmake.org/u/leha-bot)\
**Replies:** 3\
**Last updated:** [January 2, 2024, 7:18pm UTC](https://discourse.cmake.org/t/rfc-add-ability-to-create-source-group-at-target-level-and-derive-it-via-public-interface-private/7388 "2024-01-02T19:18:49Z")

</div>

Currently, source\_group() is restricted to subdirectories, which is not convenient then we have a base library with sets of headers (inside some target possibly). While we could use the \`target\_sources( INTERFACE) for a…

---

## [Build Server Protocol support?](https://discourse.cmake.org/t/build-server-protocol-support/9593)

<div class="topic-metadata">

**Author:** [@leha-bot](https://discourse.cmake.org/u/leha-bot)\
**Replies:** 1\
**Last updated:** [January 5, 2024, 8:37pm UTC](https://discourse.cmake.org/t/build-server-protocol-support/9593 "2024-01-05T20:37:35Z")

</div>

Build System Protocol is an protocol for communicating between IDEs and Build Systems. It looks like LSP and DAP , and designed with these protocols in mind. It would be interesting at least to look into the protocol’s s…

---

## [CPackDeb default when dpkg not found](https://discourse.cmake.org/t/cpackdeb-default-when-dpkg-not-found/9755)

<div class="topic-metadata">

**Author:** [@hpkfft](https://discourse.cmake.org/u/hpkfft)\
**Replies:** 4\
**Last updated:** [January 5, 2024, 2:01am UTC](https://discourse.cmake.org/t/cpackdeb-default-when-dpkg-not-found/9755 "2024-01-05T02:01:55Z")

</div>

The documentation at deb indicates that CPACK\_DEBIAN\_PACKAGE\_ARCHITECTURE defaults to i386 when dpkg is not found. However, the execute\_process() on line 459 in the file cmake-3.25/Modules/Internal/CPack/CPackDeb.cmake …

---

## [C++ 20 Modules Update](https://discourse.cmake.org/t/c-20-modules-update/7330)

<div class="topic-metadata">

**Author:** [@bill.hoffman](https://discourse.cmake.org/u/bill.hoffman)\
**Replies:** 111\
**Last updated:** [December 19, 2023, 3:35am UTC](https://discourse.cmake.org/t/c-20-modules-update/7330 "2023-12-19T03:35:53Z")

</div>

If you are interested in C++20 modules support in CMake, please have a look at this blog post: https://www.kitware.com/import-cmake-c20-modules/ It would be great to get feedback from users on this work. Thanks. -Bil…

---

## [find\_package Protobuf confusing message](https://discourse.cmake.org/t/find-package-protobuf-confusing-message/9613)

<div class="topic-metadata">

**Author:** [@eriols](https://discourse.cmake.org/u/eriols)\
**Replies:** 1\
**Last updated:** [December 19, 2023, 3:03am UTC](https://discourse.cmake.org/t/find-package-protobuf-confusing-message/9613 "2023-12-19T03:03:17Z")

</div>

Upgraded to Fedora 39 and this broke a find\_package(Protobuf 3 REQUIRED) I had in an interesting way. I’m getting Could NOT find Protobuf \[...\] found suitable version 3.19.6, minimum required is 3. The issue is that I …

---

## [troubles findine .cmake file but i've set CMAKE\_MODULE\_PATH to the right directory](https://discourse.cmake.org/t/troubles-findine-cmake-file-but-ive-set-cmake-module-path-to-the-right-directory/9649)

<div class="topic-metadata">

**Author:** [@bytecounter](https://discourse.cmake.org/u/bytecounter)\
**Replies:** 1\
**Last updated:** [December 18, 2023, 10:06am UTC](https://discourse.cmake.org/t/troubles-findine-cmake-file-but-ive-set-cmake-module-path-to-the-right-directory/9649 "2023-12-18T10:06:19Z")

</div>

hello, list(APPEND CMAKE\_MODULE\_PATH ${CMAKE\_SOURCE\_DIR}/buildsytem/cmake) include("basictools") but he is not able to find the file basictools.cmake, what am i doing wrong here ?

---

## [troubles with CMAKE\_MODULE\_PATH](https://discourse.cmake.org/t/troubles-with-cmake-module-path/9648)

<div class="topic-metadata">

**Author:** [@bytecounter](https://discourse.cmake.org/u/bytecounter)\
**Replies:** 4\
**Last updated:** [December 18, 2023, 8:21am UTC](https://discourse.cmake.org/t/troubles-with-cmake-module-path/9648 "2023-12-18T08:21:05Z")

</div>

Hello, i’ve troubles to include a .cmake files that i’ve saved in ${CMAKE\_SOURCE\_DIR} but i adde: list(APPEND CMAKE\_MODULE\_PATH ${CMAKE\_SOURCE\_DIR}/buildsytem/cmake) include("buildtools") but the path buildsystem/cma…

---

## [3.28 Segmentation fault on macos-11 runner](https://discourse.cmake.org/t/3-28-segmentation-fault-on-macos-11-runner/9588)

<div class="topic-metadata">

**Author:** [@buildSystemPerson](https://discourse.cmake.org/u/buildSystemPerson)\
**Replies:** 3\
**Last updated:** [December 14, 2023, 8:53pm UTC](https://discourse.cmake.org/t/3-28-segmentation-fault-on-macos-11-runner/9588 "2023-12-14T20:53:05Z")

</div>

We recently just caught this in our CI using lukka/get-cmake@latest This error only occurs on a macos-11 runner using CMake 3.28. Here is the error: cmake -S . -B build/ -- The CXX compiler identification is AppleC…

---

## [\[Off Topic\] MSBuild RFE: Defined('propname') condition](https://discourse.cmake.org/t/off-topic-msbuild-rfe-defined-propname-condition/9474)

<div class="topic-metadata">

**Author:** [@Francesco\_Pretto](https://discourse.cmake.org/u/Francesco_Pretto)\
**Replies:** 0\
**Last updated:** [November 21, 2023, 10:17am UTC](https://discourse.cmake.org/t/off-topic-msbuild-rfe-defined-propname-condition/9474 "2023-11-21T10:17:42Z")

</div>

This is probably off topic, since it involves a feature that may or may not be implemented in MSBuild, and if it does eventually get implemented it will take years to come to be effectively used in CMake. The idea is to …

---

## [troubles when complinig](https://discourse.cmake.org/t/troubles-when-complinig/9467)

<div class="topic-metadata">

**Author:** [@bytecounter](https://discourse.cmake.org/u/bytecounter)\
**Replies:** 8\
**Last updated:** [November 20, 2023, 2:50pm UTC](https://discourse.cmake.org/t/troubles-when-complinig/9467 "2023-11-20T14:50:10Z")

</div>

+ mkdir -p qtbase + cd qtbase + exec /home/stuv/Qt/6.6.0/Src/qtbase/configure -top-level '/usr/local/bin/cmake' '-DQT\_INTERNAL\_CALLED\_FROM\_CONFIGURE:BOOL=TRUE' '-G' 'Unix Makefiles' '/home/stuv/Qt/6.6.0/Src' CMake Error:…

---

## [man pages are not found](https://discourse.cmake.org/t/man-pages-are-not-found/9464)

<div class="topic-metadata">

**Author:** [@bytecounter](https://discourse.cmake.org/u/bytecounter)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 1:04am UTC](https://discourse.cmake.org/t/man-pages-are-not-found/9464 "2023-11-20T01:04:32Z")

</div>

Hi everone, i did a ./confiure;make;make install but i don’t get the man pages :confused:

---

## [Role of CXX\_MODULES file sets and how it is documented](https://discourse.cmake.org/t/role-of-cxx-modules-file-sets-and-how-it-is-documented/9444)

<div class="topic-metadata">

**Author:** [@craig.scott](https://discourse.cmake.org/u/craig.scott)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 3:40pm UTC](https://discourse.cmake.org/t/role-of-cxx-modules-file-sets-and-how-it-is-documented/9444 "2023-11-17T15:40:48Z")

</div>

I’m working through the new C++20 modules support, in particular the CMake docs around this new feature. Based on what I see in the cmake-cxxmodules manual, the target\_sources() command help, the install() command help, …

---

## [requesting CMake 3.27.8 release](https://discourse.cmake.org/t/requesting-cmake-3-27-8-release/9423)

<div class="topic-metadata">

**Author:** [@scivision](https://discourse.cmake.org/u/scivision)\
**Replies:** 3\
**Last updated:** [November 14, 2023, 12:16am UTC](https://discourse.cmake.org/t/requesting-cmake-3-27-8-release/9423 "2023-11-14T00:16:21Z")

</div>

https://gitlab.kitware.com/cmake/cmake/-/issues/25365 was a critical fix for Fortran + Ninja projects, fixing broken 3.27.0…3.27.7 and 3.28-rc. I’m still using CMake 3.26.5 waiting for 3.27.8, maybe it fell off the rada…

---

## [Botan find module](https://discourse.cmake.org/t/botan-find-module/9101)

<div class="topic-metadata">

**Author:** [@securitykernel](https://discourse.cmake.org/u/securitykernel)\
**Replies:** 7\
**Last updated:** [November 8, 2023, 5:41pm UTC](https://discourse.cmake.org/t/botan-find-module/9101 "2023-11-08T17:41:07Z")

</div>

I’d like to add a find module for the Botan cryptographic library to find modules shipped with CMake by default. Botan has been around for many years and is used by open source as well as commercial projects. We consume …

---

## [Cannot compile CMake from source: Fortran compiler not found](https://discourse.cmake.org/t/cannot-compile-cmake-from-source-fortran-compiler-not-found/9349)

<div class="topic-metadata">

**Author:** [@johndoesstuff](https://discourse.cmake.org/u/johndoesstuff)\
**Replies:** 12\
**Last updated:** [November 8, 2023, 2:05am UTC](https://discourse.cmake.org/t/cannot-compile-cmake-from-source-fortran-compiler-not-found/9349 "2023-11-08T02:05:42Z")

</div>

Hello, I’m trying to compile CMake from source but I’m running into issues. The first command I run is: ./bootstrap CC=cc CXX=c++ --generator="Unix Makefiles" --no-debugger CFLAGS="-fno-sanitize=undefined -fno-sanitize…

---

## [cmake 3.28.0-rc3 fails to build qt6 via vcpkg](https://discourse.cmake.org/t/cmake-3-28-0-rc3-fails-to-build-qt6-via-vcpkg/9369)

<div class="topic-metadata">

**Author:** [@Tobias](https://discourse.cmake.org/u/Tobias)\
**Replies:** 5\
**Last updated:** [November 6, 2023, 8:01pm UTC](https://discourse.cmake.org/t/cmake-3-28-0-rc3-fails-to-build-qt6-via-vcpkg/9369 "2023-11-06T20:01:22Z")

</div>

Hi, I just tried to build qt6 via vcpkg and it failed. I first thought it is a vcpkg problem but switching to 3.27 solved it (and failed later due to a different error) The error message was: CMake Error in C:/Develop…

---

## [Please provide fully statically linked binaries of CMake](https://discourse.cmake.org/t/please-provide-fully-statically-linked-binaries-of-cmake/9299)

<div class="topic-metadata">

**Author:** [@johndoesstuff](https://discourse.cmake.org/u/johndoesstuff)\
**Replies:** 6\
**Last updated:** [November 3, 2023, 9:27am UTC](https://discourse.cmake.org/t/please-provide-fully-statically-linked-binaries-of-cmake/9299 "2023-11-03T09:27:34Z")

</div>

Dear CMake team, The CMake binaries for linux provided on the website have no dependencies except on GLIBC, which is linked dynamically… Is it possible to instead provide linux binaries that are fully statically linked …

---

## [presets: Precedent for IDE implementation of \`cmakeExecutable\`?](https://discourse.cmake.org/t/presets-precedent-for-ide-implementation-of-cmakeexecutable/9255)

<div class="topic-metadata">

**Author:** [@gcampbell-msft](https://discourse.cmake.org/u/gcampbell-msft)\
**Replies:** 3\
**Last updated:** [October 30, 2023, 1:38pm UTC](https://discourse.cmake.org/t/presets-precedent-for-ide-implementation-of-cmakeexecutable/9255 "2023-10-30T13:38:45Z")

</div>

Hi, everyone. I’m curious if there is precedent for how cmakeExecutable is implemented and used by IDE’s? I assume it’s looking for a direct path to the executable and not a path to a directory. Is there any preferred i…

---

## [Setup Cpp-Swift Interoperability using CMake](https://discourse.cmake.org/t/setup-cpp-swift-interoperability-using-cmake/9272)

<div class="topic-metadata">

**Author:** [@Vipul\_Gupta](https://discourse.cmake.org/u/Vipul_Gupta)\
**Replies:** 0\
**Last updated:** [October 25, 2023, 8:40am UTC](https://discourse.cmake.org/t/setup-cpp-swift-interoperability-using-cmake/9272 "2023-10-25T08:40:06Z")

</div>

I have been using the Cpp-Swift Interoperability in Xcode15 for direct communication between Cpp and Swift5.9. It required a few Build settings changes for the Swift Compiler, creating clang modules(module map file) to a…

---

## [stderr mismatch error iresults in test failures while creating cmake 3.25.1 debian package in Ubuntu 20.04](https://discourse.cmake.org/t/stderr-mismatch-error-iresults-in-test-failures-while-creating-cmake-3-25-1-debian-package-in-ubuntu-20-04/9232)

<div class="topic-metadata">

**Author:** [@ts1](https://discourse.cmake.org/u/ts1)\
**Replies:** 5\
**Last updated:** [October 22, 2023, 3:42pm UTC](https://discourse.cmake.org/t/stderr-mismatch-error-iresults-in-test-failures-while-creating-cmake-3-25-1-debian-package-in-ubuntu-20-04/9232 "2023-10-22T15:42:59Z")

</div>

Hi all, I am trying to create cmake 3.25.1 debain package for ubuntu 20.04 as it is not available for ubuntu 20.04. I was able to install all dependencies except python3-sphinxcontrib.qthelp:native as it is not availabl…

---

## [Xcode cmakeforcelinker breaks build](https://discourse.cmake.org/t/xcode-cmakeforcelinker-breaks-build/9201)

<div class="topic-metadata">

**Author:** [@aaye](https://discourse.cmake.org/u/aaye)\
**Replies:** 3\
**Last updated:** [October 15, 2023, 8:49am UTC](https://discourse.cmake.org/t/xcode-cmakeforcelinker-breaks-build/9201 "2023-10-15T08:49:30Z")

</div>

Not clear where the best place to put some feedback regarding a defect in the Xcode generator. I have a set of C (not C++) projects. Not surprising I have only C files (\*.c) in the project. CMake automatically places a …

---

## [CMake: better LINKER\_LANGUAGE detect for C++ library with Fortran main](https://discourse.cmake.org/t/cmake-better-linker-language-detect-for-c-library-with-fortran-main/9179)

<div class="topic-metadata">

**Author:** [@scivision](https://discourse.cmake.org/u/scivision)\
**Replies:** 4\
**Last updated:** [October 12, 2023, 5:59pm UTC](https://discourse.cmake.org/t/cmake-better-linker-language-detect-for-c-library-with-fortran-main/9179 "2023-10-12T17:59:15Z")

</div>

tl;dr: I’d like to improve LINKER\_LANGUAGE auto-detect for C++ library with Fortran main program. Across compilers and OS, CMake is good at detecting the appropriate linker\_language EXCEPT for C++ library with Fortran m…

---

## [The system cannot find the file specified](https://discourse.cmake.org/t/the-system-cannot-find-the-file-specified/8987)

<div class="topic-metadata">

**Author:** [@Aldrina\_Bernard](https://discourse.cmake.org/u/Aldrina_Bernard)\
**Replies:** 5\
**Last updated:** [October 12, 2023, 12:41pm UTC](https://discourse.cmake.org/t/the-system-cannot-find-the-file-specified/8987 "2023-10-12T12:41:52Z")

</div>

Hi All, I am trying to build a CMakeLists.txt file. I followed the below steps Created tasks.json and added the git bash commands Created the CMakeLists.txt file. Created the settings,json file and added the cmake.sour…

---

## [\[ROCm, HIP\] architecture detection: keep track of failed command execution](https://discourse.cmake.org/t/rocm-hip-architecture-detection-keep-track-of-failed-command-execution/9146)

<div class="topic-metadata">

**Author:** [@Matteo\_Concas](https://discourse.cmake.org/u/Matteo_Concas)\
**Replies:** 3\
**Last updated:** [October 11, 2023, 2:06pm UTC](https://discourse.cmake.org/t/rocm-hip-architecture-detection-keep-track-of-failed-command-execution/9146 "2023-10-11T14:06:09Z")

</div>

When using ROCm, GPU architecture detection is steered by using rocm\_agent\_enumerator executable. It can happen that during a project configuration stage the call to the executable fails, e.g. because of a different P…

---

## [CPack: why NOT reuse the installation tree?](https://discourse.cmake.org/t/cpack-why-not-reuse-the-installation-tree/9143)

<div class="topic-metadata">

**Author:** [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)\
**Replies:** 2\
**Last updated:** [October 5, 2023, 8:33pm UTC](https://discourse.cmake.org/t/cpack-why-not-reuse-the-installation-tree/9143 "2023-10-05T20:33:34Z")

</div>

I am woundering why CPack waste the disk space in this way? klein\_cl:~/Workspace/cpp/axcioma/build$ tree -d -L 4 \_CPack\_Packages/ \_CPack\_Packages/ └── Linux ├── STGZ │ └── itaox11-2.2.0-Linux │ ├── b…

---

## [cmake fails to extract zip file on FAT filesystem](https://discourse.cmake.org/t/cmake-fails-to-extract-zip-file-on-fat-filesystem/9071)

<div class="topic-metadata">

**Author:** [@neundorf](https://discourse.cmake.org/u/neundorf)\
**Replies:** 2\
**Last updated:** [September 27, 2023, 8:36pm UTC](https://discourse.cmake.org/t/cmake-fails-to-extract-zip-file-on-fat-filesystem/9071 "2023-09-27T20:36:41Z")

</div>

Hi, when running cmake -E tar x somefile.zip on a FAT32 filesystem, cmake fails to unpack the fle. It reports “CMake Error: Problem with archive\_write\_finish\_entry(): Can’t restore time”. This comes from here: https:…

---

## [CMake and Sanitizers](https://discourse.cmake.org/t/cmake-and-sanitizers/9085)

<div class="topic-metadata">

**Author:** [@fmayer](https://discourse.cmake.org/u/fmayer)\
**Replies:** 6\
**Last updated:** [September 26, 2023, 8:13pm UTC](https://discourse.cmake.org/t/cmake-and-sanitizers/9085 "2023-09-26T20:13:32Z")

</div>

Hello! I work on the Sanitizers, and in particular on HWASan on Android. I would like to make it easier to use, so that the developer only needs to specify the intent to use HWASan once (e.g. when using Gradle, in the G…

---

## [Parameterized configuration for ctest](https://discourse.cmake.org/t/parameterized-configuration-for-ctest/9057)

<div class="topic-metadata">

**Author:** [@pkiran](https://discourse.cmake.org/u/pkiran)\
**Replies:** 5\
**Last updated:** [September 25, 2023, 10:58pm UTC](https://discourse.cmake.org/t/parameterized-configuration-for-ctest/9057 "2023-09-25T22:58:30Z")

</div>

My project has quite a few build time configurations with multiple possible values for each. I have a small python wrapper around cmake to execute builds. I would like to add the build step itself as a test in ctest. Is …

[Previous page](https://discourse.cmake.org/c/development/9.md?page=9)

[Next page](https://discourse.cmake.org/c/development/9.md?page=11)
