Skip to content

Commit 31d3ff1

Browse files
committed
build: bump CMake minimum requirement and drop workaround
CMake 3.19.0 fixed the compiler invocation requiring the local workaround. Match the runtimes CMake version requirement and drop the workaround.
1 parent 2d70580 commit 31d3ff1

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
cmake_minimum_required(VERSION 3.15.1)
2+
cmake_minimum_required(VERSION 3.26...3.29)
33

44
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
55

@@ -13,10 +13,6 @@ project(dispatch
1313
VERSION 1.3
1414
LANGUAGES C CXX)
1515

16-
if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
17-
include(ClangClCompileRules)
18-
endif()
19-
2016
if(CMAKE_SYSTEM_NAME STREQUAL Windows)
2117
include(CheckCSourceCompiles)
2218
include(CheckSymbolExists)

cmake/modules/ClangClCompileRules.cmake

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

0 commit comments

Comments
 (0)