Mercurial > minori
changeset 72:893ad99b174d
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.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 03 Oct 2023 04:58:38 -0400 |
parents | 2417121d894e |
children | f1fc8b04bc63 |
files | dep/anitomy/CMakeLists.txt |
diffstat | 1 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- 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)