From 00b9e369c2d360acce3c0ae47d56996ce8f612d0 Mon Sep 17 00:00:00 2001 From: Matthew Alan Gray Date: Thu, 25 Jul 2024 11:33:16 -0500 Subject: [PATCH] Minor fixes addressing issue #330 --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ecf285b..9a646460 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ project(OpenNMTTokenizer) option(BUILD_TESTS "Compile unit tests" OFF) option(BUILD_SHARED_LIBS "Build shared libraries" ON) -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) if(CMAKE_VERSION VERSION_LESS "3.7.0") set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") endif() diff --git a/README.md b/README.md index 0bc2309d..23f26ca5 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ See the `-h` flag to list the available options. git submodule update --init mkdir build cd build -cmake .. +cmake .. -DICU_ROOT= make ```