mbedtls, cmake: set host as unix when building in msys

pull/2797/head
Renz Christian Bagaporo 2018-11-30 19:48:05 +08:00
rodzic 50d7067391
commit d411175e47
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -18,6 +18,10 @@ endfunction()
# Needed to for include_next includes to work from within mbedtls # Needed to for include_next includes to work from within mbedtls
include_directories("${COMPONENT_PATH}/port/include") include_directories("${COMPONENT_PATH}/port/include")
if(MSYS)
set(CMAKE_HOST_UNIX 1)
endif()
# Import mbedtls library targets # Import mbedtls library targets
add_subdirectory(mbedtls) add_subdirectory(mbedtls)