diff options
Diffstat (limited to 'CMake/OtherTests.cmake')
-rw-r--r-- | CMake/OtherTests.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMake/OtherTests.cmake b/CMake/OtherTests.cmake index 50fa67559..89d004844 100644 --- a/CMake/OtherTests.cmake +++ b/CMake/OtherTests.cmake @@ -68,7 +68,7 @@ if(curl_cv_recv) endforeach(recv_arg3) endforeach(recv_arg2) endforeach(recv_arg1) - endforeach(recv_retv) + endforeach(recv_retv) else(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown") string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG1 "${curl_cv_func_recv_args}") string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG2 "${curl_cv_func_recv_args}") @@ -81,7 +81,7 @@ if(curl_cv_recv) #MESSAGE("RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}") #MESSAGE("RECV_TYPE_RETV ${RECV_TYPE_RETV}") endif(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown") - + if("${curl_cv_func_recv_args}" STREQUAL "unknown") message(FATAL_ERROR "Cannot find proper types to use for recv args") endif("${curl_cv_func_recv_args}" STREQUAL "unknown") @@ -134,7 +134,7 @@ if(curl_cv_send) endforeach(send_arg3) endforeach(send_arg2) endforeach(send_arg1) - endforeach(send_retv) + endforeach(send_retv) else(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown") string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG1 "${curl_cv_func_send_args}") string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG2 "${curl_cv_func_send_args}") @@ -149,7 +149,7 @@ if(curl_cv_send) #MESSAGE("SEND_TYPE_RETV ${SEND_TYPE_RETV}") #MESSAGE("SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}") endif(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown") - + if("${curl_cv_func_send_args}" STREQUAL "unknown") message(FATAL_ERROR "Cannot find proper types to use for send args") endif("${curl_cv_func_send_args}" STREQUAL "unknown") |