aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-03-11 14:06:34 -0600
committerCharles Kerr <charles.kerr@canonical.com>2016-03-11 14:06:34 -0600
commit0734731e7296f84ab30ac403886635b7cb89da49 (patch)
tree2ce36bf6cd59e8e2e5165a8be59e0c0ab7222f7b /src/CMakeLists.txt
parentd8ef8e68805ab7f53258427c79ee5aaafec916ba (diff)
downloadayatana-indicator-display-0734731e7296f84ab30ac403886635b7cb89da49.tar.gz
ayatana-indicator-display-0734731e7296f84ab30ac403886635b7cb89da49.tar.bz2
ayatana-indicator-display-0734731e7296f84ab30ac403886635b7cb89da49.zip
clean up compile_options and warnings. Add DBUS debug log messages to ctest environment variables.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d0ab901..02d973e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,10 @@
add_definitions(-DG_LOG_DOMAIN="${CMAKE_PROJECT_NAME}")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_WARNING_ARGS} ${GCOV_FLAGS}")
+add_compile_options(
+ ${CXX_WARNING_ARGS}
+ ${GCOV_FLAGS}
+)
add_library(
${SERVICE_LIB}