diff --git a/CMakeLists.txt b/CMakeLists.txt index b0d2e512..27a1fdc2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -214,9 +214,7 @@ string(TOUPPER ${API_POLLER} UPPER_API_POLLER) set(ZMQ_POLL_BASED_ON_${UPPER_API_POLLER} 1) include(TestZMQVersion) -if(NOT CMAKE_CROSSCOMPILING) - include(ZMQSourceRunChecks) -endif() +include(ZMQSourceRunChecks) include(CheckIncludeFiles) include(CheckLibraryExists) include(CheckCCompilerFlag)