From 0ae2ec89845d2f22eab82f4bd43d5222a785ee6c Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Fri, 11 Feb 2022 14:25:31 +0100 Subject: Clean up compilation flags --- src/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') 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}) -- cgit v1.2.3