Skip to content

Commit fc2009f

Browse files
committed
CMake 3.14 is required (due to parser), 3.13 does not work
1 parent b2edcd6 commit fc2009f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Official repository: https://github.com/boostorg/json
99
#
1010

11-
cmake_minimum_required(VERSION 3.15...3.16)
11+
cmake_minimum_required(VERSION 3.14...3.16)
1212

1313
set(BOOST_JSON_VERSION 2)
1414
if(BOOST_SUPERPROJECT_VERSION)

test/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ target_compile_definitions(boost_json-no_exceptions PRIVATE
6161
BOOST_JSON_NO_LIB=1
6262
)
6363
target_compile_options(boost_json-no_exceptions PRIVATE
64-
$<$<CXX_COMPILER_ID:GNU,Clang,AppleClang>:-fno-exceptions>
64+
$<$<CXX_COMPILER_ID:GNU>:-fno-exceptions>
65+
$<$<CXX_COMPILER_ID:Clang>:-fno-exceptions>
66+
$<$<CXX_COMPILER_ID:AppleClang>:-fno-exceptions>
6567
$<$<CXX_COMPILER_ID:MSVC>:/wd4530>
6668
$<$<CXX_COMPILER_ID:MSVC>:/wd4577>
6769
)

0 commit comments

Comments
 (0)