photivo: patch: -std=c++0x => -std=c++11
This commit is contained in:
parent
a6b2f59437
commit
cece838997
|
@ -1,8 +1,7 @@
|
||||||
diff --git a/var/tmp/paludis/build/graphics-photivo-scm/work/photivo-scm/CMakeLists.txt b/CMakeLists.txt
|
diff -r d687864489da CMakeLists.txt
|
||||||
index 431408c..95313ec 100644
|
--- a/CMakeLists.txt Sat Jan 18 15:17:05 2014 +0700
|
||||||
--- a/var/tmp/paludis/build/graphics-photivo-scm/work/photivo-scm/CMakeLists.txt
|
+++ b/CMakeLists.txt Sun Apr 06 18:49:36 2014 +0200
|
||||||
+++ b/CMakeLists.txt
|
@@ -105,11 +105,11 @@
|
||||||
@@ -105,11 +105,11 @@ if( EXISTS ${PROJECT_SOURCE_DIR}/.hg )
|
|
||||||
# Determine Photivo version with mercurial. Use current date if mercurial is unavailable.
|
# Determine Photivo version with mercurial. Use current date if mercurial is unavailable.
|
||||||
find_program( MERCURIAL hg )
|
find_program( MERCURIAL hg )
|
||||||
if( MERCURIAL )
|
if( MERCURIAL )
|
||||||
|
@ -18,14 +17,16 @@ index 431408c..95313ec 100644
|
||||||
set( APPVERSION "${REVDATE} (rev ${REVISION})" )
|
set( APPVERSION "${REVDATE} (rev ${REVISION})" )
|
||||||
string( REGEX REPLACE [+] "" REVISION ${REVISION} )
|
string( REGEX REPLACE [+] "" REVISION ${REVISION} )
|
||||||
string( REGEX REPLACE [+] "" PACKREVISION ${PACKREVISION} )
|
string( REGEX REPLACE [+] "" PACKREVISION ${PACKREVISION} )
|
||||||
@@ -138,8 +138,8 @@ message( "Build ptClear : ${WITH_CLEAR}" )
|
@@ -140,9 +140,9 @@
|
||||||
message( "Build Gimp plugin : ${WITH_GIMP}" )
|
|
||||||
message( "Build Adobe profiles creator : ${WITH_ADOBE_PROFILES}\n" )
|
|
||||||
|
|
||||||
-set( CMAKE_CXX_FLAGS "" )
|
set( CMAKE_CXX_FLAGS "" )
|
||||||
-set( CMAKE_C_FLAGS "" )
|
set( CMAKE_C_FLAGS "" )
|
||||||
+set( CMAKE_CXX_FLAGS "-std=c++11" )
|
-set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -funroll-loops -fopenmp -std=gnu++0x" )
|
||||||
+set( CMAKE_C_FLAGS "-std=c++11" )
|
-set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -std=gnu++0x" )
|
||||||
set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -funroll-loops -fopenmp -std=gnu++0x" )
|
-set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=gnu++0x" )
|
||||||
set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -std=gnu++0x" )
|
+set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -funroll-loops -fopenmp -std=gnu++11" )
|
||||||
set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=gnu++0x" )
|
+set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -std=gnu++11" )
|
||||||
|
+set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=gnu++11" )
|
||||||
|
|
||||||
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/Sources
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
|
Loading…
Reference in a new issue