Skip to content

Commit 2d70580

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 9962e1b commit 2d70580

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
@@ -18,15 +18,6 @@ if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
1818
endif()
1919

2020
if(CMAKE_SYSTEM_NAME STREQUAL Windows)
21-
if(NOT MINGW)
22-
include(DispatchWindowsSupport)
23-
dispatch_windows_arch_spelling(${CMAKE_SYSTEM_PROCESSOR} DISPATCH_MSVC_ARCH)
24-
dispatch_windows_include_for_arch(${DISPATCH_MSVC_ARCH} DISPATCH_INCLUDES)
25-
include_directories(BEFORE SYSTEM ${DISPATCH_INCLUDES})
26-
dispatch_windows_lib_for_arch(${CMAKE_SYSTEM_PROCESSOR} DISPATCH_LIBDIR)
27-
link_directories(${DISPATCH_LIBDIR})
28-
endif()
29-
3021
include(CheckCSourceCompiles)
3122
include(CheckSymbolExists)
3223

cmake/modules/DispatchWindowsSupport.cmake

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

0 commit comments

Comments
 (0)