# HG changeset patch # User Paper # Date 1696323518 14400 # Node ID 893ad99b174d6be4b41bedf332b663d54195e34a # Parent 2417121d894ecb26eb6aaf366dd3e2444caac97b dep/anitomy: add CXX_STANDARD to CMakeLists.txt this fixes bugs when building on macOS, because Apple clang defaults to C++98(?) HG Enter commit message. Lines beginning with 'HG:' are removed. diff -r 2417121d894e -r 893ad99b174d dep/anitomy/CMakeLists.txt --- a/dep/anitomy/CMakeLists.txt Mon Oct 02 21:33:25 2023 -0400 +++ b/dep/anitomy/CMakeLists.txt Tue Oct 03 04:58:38 2023 -0400 @@ -1,16 +1,16 @@ -cmake_minimum_required(VERSION 3.9) -project(anitomy) -add_library(anitomy SHARED - anitomy/anitomy.cpp - anitomy/element.cpp - anitomy/keyword.cpp - anitomy/parser.cpp - anitomy/parser_helper.cpp - anitomy/parser_number.cpp - anitomy/string.cpp - anitomy/token.cpp - anitomy/tokenizer.cpp -) -set_target_properties(anitomy PROPERTIES - PUBLIC_HEADER anitomy/anitomy.h) -target_include_directories(anitomy PRIVATE src) +cmake_minimum_required(VERSION 3.9) +project(anitomy) +add_library(anitomy SHARED + anitomy/anitomy.cpp + anitomy/element.cpp + anitomy/keyword.cpp + anitomy/parser.cpp + anitomy/parser_helper.cpp + anitomy/parser_number.cpp + anitomy/string.cpp + anitomy/token.cpp + anitomy/tokenizer.cpp +) +set_target_properties(anitomy PROPERTIES + PUBLIC_HEADER anitomy/anitomy.h CXX_STANDARD 17) +target_include_directories(anitomy PRIVATE src)