Skip to content

Commit

Permalink
Add conflict with CMake 3.19.0 (#1153)
Browse files Browse the repository at this point in the history
There is a bug in 3.19.0 that treats .S files like C-language files.

Co-authored-by: Tim Haines <thaines@cs.wisc.edu>
  • Loading branch information
hainest and Tim Haines committed Nov 13, 2021
1 parent 154dde7 commit 4f6f1a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
cmake_minimum_required (VERSION 3.4.0)

# There is a bug in 3.19.0 that causes .S files to be treated like C files
if(CMAKE_VERSION VERSION_EQUAL "3.19.0")
message(FATAL_ERROR "Dyninst cannot use CMake version 3.19.0")
endif()

project (Dyninst)

set (DYNINST_ROOT ${PROJECT_SOURCE_DIR})
Expand Down

0 comments on commit 4f6f1a2

Please sign in to comment.