]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: skip superfluous hex2dec conversion using math expr
authorMarc Hoersken <info@marc-hoersken.de>
Thu, 1 Sep 2022 17:50:29 +0000 (19:50 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Mon, 5 Sep 2022 18:22:32 +0000 (20:22 +0200)
commit7b66050eaeb6a8dc1c4076ebaaa4437eaba899e8
tree925d61e8703492ff855390df4139cff4e482605a
parent5162ba05625d941bfd1bdbc47bd25b896caa44dc
cmake: skip superfluous hex2dec conversion using math expr

CMake seems to be able to compare two hex values just fine.
Also make sure CURL_TARGET_WINDOWS_VERSION is respected.

Assisted-by: Marcel Raad
Reviewed-by: Viktor Szakats
Reported-by: Keitagit-kun on github
Follow up to #9312
Fixes #9406
Closes #9411
CMakeLists.txt