summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Rojas <arojas@archlinux.org>2016-11-10 17:54:41 (GMT)
committerAntonio Rojas <arojas@archlinux.org>2016-11-10 17:54:41 (GMT)
commitcf28801cd34730da07a2c01704ca3114630f4fe7 (patch)
tree90abc6b92efc26a9c3b5cfb21faeb2a78c8b22e4
parenta87fd4a4e4b768359bc71485f23f9f27a103de53 (diff)
Compiling against gmgpe 1.7 requires c++11
-rw-r--r--kwalletd/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/kwalletd/CMakeLists.txt b/kwalletd/CMakeLists.txt
index ae8c745..88d944e 100644
--- a/kwalletd/CMakeLists.txt
+++ b/kwalletd/CMakeLists.txt
@@ -17,6 +17,9 @@ endif((GPGME_FOUND AND QGPGME_FOUND) OR Gpgmepp_FOUND)
if (GPGME_FOUND AND QGPGME_FOUND)
include_directories(${QGPGME_INCLUDE_DIR})
endif (GPGME_FOUND AND QGPGME_FOUND)
+if (Gpgmepp_FOUND)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
+endif (Gpgmepp_FOUND)
########### build backends #########
add_subdirectory(backend)