mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:33:39 +03:00
cmake: quotes, whitespace, use VERSION_GREATER_EQUAL
- `NOT` + `VERSION_LESS` -> `VERSION_GREATER_EQUAL` Available since 3.7, which is the minimum required for curl: https://cmake.org/cmake/help/latest/command/if.html#version-greater-equal - make `CMAKE_REQUIRED_*` argument quotes consistent. - make `CMAKE_REQUIRED_*` space alignment consistent. - drop quote from version value for consistency with other cases. - formatting Closes #17002
This commit is contained in:
parent
2485a2d100
commit
6af7ab3b39
6 changed files with 50 additions and 53 deletions
|
|
@ -90,10 +90,7 @@ add_executable(
|
|||
)
|
||||
target_compile_definitions(${EXE_NAME} PRIVATE ${_curl_definitions})
|
||||
|
||||
add_executable(
|
||||
${PROJECT_NAME}::${EXE_NAME}
|
||||
ALIAS ${EXE_NAME}
|
||||
)
|
||||
add_executable(${PROJECT_NAME}::${EXE_NAME} ALIAS ${EXE_NAME})
|
||||
|
||||
add_library(
|
||||
curltool # special libcurltool library just for unittests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue