diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-08-23 17:13:36 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-08-23 17:13:36 +0200 |
commit | 9503ca33f0e6bd3259e0d6ad3533b4913d9fe03c (patch) | |
tree | 884b85397f08e284697129278a988b7b6ccc5071 | |
parent | a2a39a943dac59018da2f8977af5569cf520db8d (diff) | |
download | curl-bagder/cmake-macos-no-poll.tar.gz |
fixup the conditionalbagder/cmake-macos-no-poll
-rw-r--r-- | CMake/OtherTests.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CMake/OtherTests.cmake b/CMake/OtherTests.cmake index 81ce63503..5cddf4afa 100644 --- a/CMake/OtherTests.cmake +++ b/CMake/OtherTests.cmake @@ -237,9 +237,8 @@ endif() unset(CMAKE_TRY_COMPILE_TARGET_TYPE) if(NOT DEFINED CMAKE_TOOLCHAIN_FILE) - if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - # nothing - else() + if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + # only try this on non-macOS # if not cross-compilation... include(CheckCSourceRuns) |