Mercurial > hg > orthanc
changeset 6079:4a03333b69f6
removed the explicit setting of -std=c++11 on Apple
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 04 Apr 2025 16:52:21 +0200 (6 weeks ago) |
parents | c314fccfe8b7 |
children | a2834b7f4027 |
files | OrthancFramework/Resources/CMake/JsonCppConfiguration.cmake |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/JsonCppConfiguration.cmake Fri Apr 04 15:30:00 2025 +0200 +++ b/OrthancFramework/Resources/CMake/JsonCppConfiguration.cmake Fri Apr 04 16:52:21 2025 +0200 @@ -99,10 +99,4 @@ # default value (1000), so we increase this limit # https://gitlab.kitware.com/third-party/jsoncpp/commit/56df2068470241f9043b676bfae415ed62a0c172 add_definitions(-DJSONCPP_DEPRECATED_STACK_LIMIT=5000) - - if (APPLE AND - "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - # Explicitly adding "-std=c++11" is needed on XCode - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") - endif() endif()