-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: quote template CMake variables (#17156)
* fix: quote template CMake variables This fix addresses an issue where "cppstd" is undefined for pure C recipes. Consequently, "set" sometimes leaves the "conan_watched_std_variable" unset, leading to an error in the subsequent string comparison: ``` CMake Error at .../conan_toolchain.cmake:64 (if): if given arguments: "READ_ACCESS" "STREQUAL" "MODIFIED_ACCESS" "AND" "NOT" "11" "STREQUAL" Unknown arguments specified ``` * Fix error reporting for cstd * fix Windows test --------- Co-authored-by: Abril Rincón Blanco <git@rinconblanco.es> Co-authored-by: memsharded <james@conan.io>
- Loading branch information
1 parent
2aa8e08
commit e85aaa1
Showing
3 changed files
with
49 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters