From 024bf3c65de1ee747d5858bfea2578121cbe5103 Mon Sep 17 00:00:00 2001 From: Joshua Mulliken Date: Fri, 29 Apr 2022 16:37:45 -0400 Subject: [PATCH] fix: update CMakeLists.txt so rkdeveloptool builds on macOS --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c3febd5..541b090 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,9 @@ project (${PROJECT_NAME} VERSION 1.0.0) # The version number. set (rkdeveloptool_PACKAGE_VERSION "1.3") +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + file (GLOB LOCAL_CPP_FILES *.cpp) set (SOURCE_FILES ${SOURCE_FILES} ${LOCAL_CPP_FILES}) -- GitLab