aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-16 11:38:14 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-16 11:38:14 +0100
commitadb447d7067f73db4040ad3119a2a52cd08879a2 (patch)
treedb992cb4cd4974e95c93833cf432eb6eea65fed2 /src
parentb439ad041ff4478453f0bd4e00f55224d653c69b (diff)
parente4b6f9ac3aead714e654418044dea504cfa04474 (diff)
downloadayatana-indicator-datetime-adb447d7067f73db4040ad3119a2a52cd08879a2.tar.gz
ayatana-indicator-datetime-adb447d7067f73db4040ad3119a2a52cd08879a2.tar.bz2
ayatana-indicator-datetime-adb447d7067f73db4040ad3119a2a52cd08879a2.zip
Merge branch 'tari01-pr/cleanup-compile-flags'
Attributes GH PR #87: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/87
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5409c91..4131f22 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -54,13 +54,6 @@ if (ENABLE_LOMIRI_FEATURES)
/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.Sound.xml)
endif()
-# add warnings/coverage info on handwritten files
-# but not the autogenerated ones...
-set_source_files_properties(${SERVICE_CXX_SOURCES}
- PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
-set_source_files_properties(${SERVICE_C_SOURCES}
- PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
-
# add the bin dir to our include path so our code can find the generated header files
include_directories (${CMAKE_CURRENT_BINARY_DIR})
@@ -69,6 +62,5 @@ include_directories (${CMAKE_SOURCE_DIR})
link_directories (${SERVICE_DEPS_LIBRARY_DIRS})
add_executable (${SERVICE_EXEC} main.cpp)
-set_source_files_properties(${SERVICE_SOURCES} main.cpp PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES})
install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR})