Skip to content

cmake: tidy up more value comparisons#14449

Closed
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:cm-numeric-comparison-tidy
Closed

cmake: tidy up more value comparisons#14449
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:cm-numeric-comparison-tidy

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Aug 7, 2024

Follow-up to 72ae0d8 #14409
Follow-up to acbc6b7 #14197

Closes #14449

- unquote numeric value.

- replace macro with variable name.
  It also avoids this error when the variable is undefined:
  ```
  CMake Error at CMakeLists.txt:1529 (if):
  if given arguments:
    "GREATER" "4"
  Unknown arguments specified
  ```
  https://github.com/curl/curl/actions/runs/10289921657/job/28478722584#step:30:356

Follow-up to 72ae0d8 curl#14409
Follow-up to acbc6b7 curl#14197

Closes #xxxxx
@vszakats vszakats closed this in 2d6fb0f Aug 7, 2024
@vszakats vszakats deleted the cm-numeric-comparison-tidy branch August 7, 2024 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant