head 1.2; access; symbols pkgsrc-2013Q3:1.1.0.6 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.4 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.2 pkgsrc-2013Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2013.11.07.13.51.37; author markd; state dead; branches; next 1.1; commitid 9xeFSNDwIHpYMlcx; 1.1 date 2013.03.03.04.56.01; author joerg; state Exp; branches; next ; desc @@ 1.2 log @Update to 4.4.1 new features, bug fixes. @ text @$NetBSD: patch-CMakeLists.txt,v 1.1 2013/03/03 04:56:01 joerg Exp $ --- CMakeLists.txt.orig 2013-03-02 20:55:38.000000000 +0000 +++ CMakeLists.txt @@@@ -47,7 +47,7 @@@@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX if(HAVE_UNORDERED_MAP) message(STATUS "Enabling c++0x support for unordered map") - add_definitions( -std=c++0x ) # For unordered_map + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") # For unordered_map else(HAVE_UNORDERED_MAP) check_include_file_cxx(ext/hash_map HAVE_EXT_HASH_MAP) endif(HAVE_UNORDERED_MAP) @ 1.1 log @Use -std=c++0x only for C++ files. @ text @d1 1 a1 1 $NetBSD$ @