Skip to content

Commit bacfee1

Browse files
committed
Post-merge fixes
1 parent 35bffea commit bacfee1

File tree

3 files changed

+27
-493
lines changed

3 files changed

+27
-493
lines changed

src/libunwind-xamarin/CMakeLists.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
cmake_minimum_required(VERSION 3.18.1)
1+
cmake_minimum_required(VERSION 3.19)
22

33
#
44
# MUST be included before project()!
55
#
6-
include("../../build-tools/cmake/xa_common.cmake")
6+
include("../../build-tools/cmake/xa_preamble.cmake")
77

88
if(NOT DEFINED LIBUNWIND_LIBRARY_NAME)
99
message(FATAL_ERROR "Please set the LIBUNWIND_LIBRARY_NAME variable on command line (-DLIBUNWIND_LIBRARY_NAME=base_library_name)")
@@ -46,9 +46,10 @@ project(
4646
LANGUAGES C ASM
4747
)
4848

49-
set(CMAKE_C_STANDARD 11)
50-
set(CMAKE_C_STANDARD_REQUIRED ON)
51-
set(CMAKE_C_EXTENSIONS OFF)
49+
#
50+
# MUST be included after project()!
51+
#
52+
include("../../build-tools/cmake/xa_common.cmake")
5253

5354
include(CheckCSourceCompiles)
5455
include(CheckIncludeFiles)

0 commit comments

Comments
 (0)