[package] cmake/3.16.3: not working for Windows
See original GitHub issueSince the Conan CMake Installer packages are deprecated I wanted to switch to the new cmake packages on conan-center.
Unfortunately its not working under windows, because only Linux binaries are downloaded when the package is used as a build_require.
I reckon all package recipes for cmake will have this issue, because there is no distinction between Linux and Windows inside the source() method. conan_data.yml does also only contain urls to the the linux archives.
The old CMake Recipes work fine, by the way.
Package and Environment Details
- Package Name/Version: cmake/3.16.3
- Operating System+version: Windows 7
- Compiler+version: GCC 4.7
- Conan version: conan 1.25.0
- Python version: Python 3.7.1
Conan profile
Configuration for profile x86_64_MinGW:
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=4.7
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]
Issue Analytics
- State:
- Created 3 years ago
- Comments:22 (17 by maintainers)
Top Results From Across the Web
v3.16.3 - CMake - GitLab
There are two ways for building CMake under Windows: Compile with MSVC from VS 2015 or later. You need to download and install...
Read more >Download - CMake
Get the Software. You can either download binaries or source code archives for the latest stable or previous release or access the current...
Read more >CMake InstallRequiredSystemLibraries broken in latest Visual ...
The CMake InstallRequiredSystemLibraries standard module does not work in the Visual Studio 2019 release I'm running. This is a regression; it used to...
Read more >vcpkg, CMake configuration, remote headers, and WSL - C++ ...
Install missing vcpkg packages with a quick action in CMake projects ... The best way to report a problem or suggest a feature...
Read more >Errors setting up CMake and vcpkg on windows `Can't open ...
SQLite3_VERSION : version of the SQLite3 library found; SQLite3_FOUND : TRUE if found. So if your call to target_link_libraries() doesn't work ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Friendly reminder to re-try, otherwise I think we should close this issue
Are there any update regarding this issue?
We are facing the exact error number:
on a Microsoft Azure CI agent (Windows 2016, the problem is not appearing on Windows 2019 agents for some reason), and it is preventing us to move our whole infra away from the deprecated
cmake_installer/...
recipes.Thank you for reading!