Skip to content

Commit 34bc77c

Browse files
authored
Merge pull request #865 from compnerd/cross-compilation
build: remove cross-compilation support
2 parents 9f5e58b + 51ca1f0 commit 34bc77c

File tree

2 files changed

+0
-83
lines changed

2 files changed

+0
-83
lines changed

CMakeLists.txt

-9
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
2020
endif()
2121

2222
if(CMAKE_SYSTEM_NAME STREQUAL Windows)
23-
if(NOT MINGW)
24-
include(DispatchWindowsSupport)
25-
dispatch_windows_arch_spelling(${CMAKE_SYSTEM_PROCESSOR} DISPATCH_MSVC_ARCH)
26-
dispatch_windows_include_for_arch(${DISPATCH_MSVC_ARCH} DISPATCH_INCLUDES)
27-
include_directories(BEFORE SYSTEM ${DISPATCH_INCLUDES})
28-
dispatch_windows_lib_for_arch(${CMAKE_SYSTEM_PROCESSOR} DISPATCH_LIBDIR)
29-
link_directories(${DISPATCH_LIBDIR})
30-
endif()
31-
3223
include(CheckCSourceCompiles)
3324
include(CheckSymbolExists)
3425

cmake/modules/DispatchWindowsSupport.cmake

-74
This file was deleted.

0 commit comments

Comments
 (0)