head 1.2; access; symbols pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2024.02.06.11.17.38; author markd; state dead; branches; next 1.1; commitid eeDo79RV6jdvCmXE; 1.1 date 2023.11.03.00.06.48; author wiz; state Exp; branches; next ; commitid t1PcNXripq4RX5LE; desc @@ 1.2 log @*: KDE Gear update to 23.08.4 5 months of development @ text @$NetBSD: patch-CMakeLists.txt,v 1.1 2023/11/03 00:06:48 wiz Exp $ Due to some dependencies, we need more than c++0x, but this is last on the command line. --- CMakeLists.txt.orig 2023-07-04 04:50:29.000000000 +0000 +++ CMakeLists.txt @@@@ -31,11 +31,6 @@@@ if ("${CMAKE_C_COMPILER_ID}" STREQUAL "G # compilers (in particular, MSVC 2010 does not support C99) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=iso9899:1990") endif() -if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") -elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel" AND NOT WIN32) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") -endif() # Default to hidden visibility for symbols set(CMAKE_C_VISIBILITY_PRESET hidden) set(CMAKE_CXX_VISIBILITY_PRESET hidden) @ 1.1 log @marble: do not let package override C++ version Fixes build with latest protobuf/abseil. @ text @d1 1 a1 1 $NetBSD$ @