Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/coreclr/pal/src/libunwind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# It overwrites the one found in upstream
project(unwind)

# Disable C11 compat
unset(CMAKE_C_STANDARD)
unset(CMAKE_C_STANDARD_REQUIRED)
Comment on lines +5 to +7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libunwind is a C library, I think setting project(unwind C) on line 3 would be a more appropriate fix. cc @janvorli

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar to

and many other examples in the repo.


set(CMAKE_INCLUDE_CURRENT_DIR ON)

# define variables for the configure_file below
Expand Down