From: Renz Christian Bagaporo Date: Fri, 30 Nov 2018 11:48:05 +0000 (+0800) Subject: mbedtls, cmake: set host as unix when building in msys X-Git-Tag: v3.3-beta1~24^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d411175e47f104996e99724d45684eab8b664438;p=esp-idf mbedtls, cmake: set host as unix when building in msys --- diff --git a/components/mbedtls/CMakeLists.txt b/components/mbedtls/CMakeLists.txt index e9cd58153b..e138c2df8f 100644 --- a/components/mbedtls/CMakeLists.txt +++ b/components/mbedtls/CMakeLists.txt @@ -18,6 +18,10 @@ endfunction() # Needed to for include_next includes to work from within mbedtls include_directories("${COMPONENT_PATH}/port/include") +if(MSYS) + set(CMAKE_HOST_UNIX 1) +endif() + # Import mbedtls library targets add_subdirectory(mbedtls)