Skip to content

Commit 51ca1f0

Browse files
committed
build: remove cross-compilation support
These can be controlled by the user external to the project. Remove this to simplify the rules.
1 parent 528e0a7 commit 51ca1f0

File tree

2 files changed

+0
-83
lines changed

2 files changed

+0
-83
lines changed

CMakeLists.txt

Lines changed: 0 additions & 9 deletions
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

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)