aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-26 16:09:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-05 15:47:16 +0200
commita809dc42fd22fc0736838f877b8d026608b315ec (patch)
tree7caf19b22e260df24da119395ca6f8d2316869b3 /tests/CMakeLists.txt
parent3045d2b1ed2c9e521d93e23175be1ba17f5b7fe9 (diff)
downloadayatana-indicator-datetime-a809dc42fd22fc0736838f877b8d026608b315ec.tar.gz
ayatana-indicator-datetime-a809dc42fd22fc0736838f877b8d026608b315ec.tar.bz2
ayatana-indicator-datetime-a809dc42fd22fc0736838f877b8d026608b315ec.zip
CMakeLists.txt: Add Clang support.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index a1e0b13..455eb04 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -3,9 +3,9 @@ add_library (gtest STATIC
${GTEST_SOURCE_DIR}/gtest-all.cc
${GTEST_SOURCE_DIR}/gtest_main.cc)
set_target_properties (gtest PROPERTIES INCLUDE_DIRECTORIES ${INCLUDE_DIRECTORIES} ${GTEST_INCLUDE_DIR})
-set_target_properties (gtest PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS} -w)
+set_target_properties (gtest PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -w")
-SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g ${CC_WARNING_ARGS}")
+SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g ${COMPILE_FLAGS}")
# dbustest
pkg_check_modules(DBUSTEST REQUIRED