aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2016-11-16 10:41:44 +0000
committerBileto Bot <ci-train-bot@canonical.com>2016-11-16 10:41:44 +0000
commit9884a79b24eca617de4e08c96c3c8508c9fe2949 (patch)
tree3c51f84a816f3d558b20581cc35326171b472252 /CMakeLists.txt
parent9d914ffc47a1064fc546d01dda2bfe8cf9479c48 (diff)
parent352a7702cca19608712423e6ca2c91f491e79013 (diff)
downloadqmenumodel-9884a79b24eca617de4e08c96c3c8508c9fe2949.tar.gz
qmenumodel-9884a79b24eca617de4e08c96c3c8508c9fe2949.tar.bz2
qmenumodel-9884a79b24eca617de4e08c96c3c8508c9fe2949.zip
converter: cleanup and add support for more variant types
Approved by: Lukáš Tinkl
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95440ca..0aef573 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,7 @@ pkg_check_modules(GLIB REQUIRED glib-2.0>=2.32)
pkg_check_modules(GIO REQUIRED gio-2.0>=2.32)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
+SET(CMAKE_CXX_FLAGS "-std=c++11")
add_definitions(-DQT_NO_KEYWORDS)
find_program(DBUS_RUNNER dbus-test-runner)
@@ -26,7 +27,7 @@ if(ENABLE_COVERAGE)
message(FATAL_ERROR "gcov command not found")
endif()
SET(CMAKE_C_FLAGS "-g -O0 -Wall --coverage")
- SET(CMAKE_CXX_FLAGS "-g -O0 -Wall --coverage")
+ SET(CMAKE_CXX_FLAGS "-g -O0 -Wall -std=c++11 --coverage")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage")
include(${CMAKE_SOURCE_DIR}/cmake/lcov.cmake)
endif()