aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 09:21:40 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 09:21:40 +0100
commitcba5f9cb9389a9b77edc009f8e629a9b0e3fdf06 (patch)
tree09f35349daadabf48f5bf414c2c164a2e83951aa /src
parentc4846f0938ff544b536fd06becab46bd9ce3dc1c (diff)
parent57a149575e0dd4f00b4ea776781dc3c2fe4f9278 (diff)
downloadayatana-indicator-keyboard-cba5f9cb9389a9b77edc009f8e629a9b0e3fdf06.tar.gz
ayatana-indicator-keyboard-cba5f9cb9389a9b77edc009f8e629a9b0e3fdf06.tar.bz2
ayatana-indicator-keyboard-cba5f9cb9389a9b77edc009f8e629a9b0e3fdf06.zip
Merge branch 'tari01-pr/cleanup-compile-flags'
Attributes GH PR #26: https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/pull/26
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e4ca3439..6a94756a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -17,7 +17,6 @@ install(TARGETS "ayatana-keyboard-lomiri" DESTINATION ${CMAKE_INSTALL_FULL_LIBDI
# libayatanaindicatorkeyboardservice.a
add_definitions(-DG_LOG_DOMAIN="ayatana-indicator-keyboard")
-set_source_files_properties(service.c PROPERTIES COMPILE_FLAGS "-std=c99")
add_library("ayatanaindicatorkeyboardservice" STATIC service.c)
include_directories(${CMAKE_SOURCE_DIR})
link_directories(${SERVICE_DEPS_LIBRARY_DIRS})
@@ -25,6 +24,5 @@ link_directories(${SERVICE_DEPS_LIBRARY_DIRS})
# ayatana-indicator-keyboard-service
add_executable("ayatana-indicator-keyboard-service" main.c)
-set_source_files_properties(service.c main.c PROPERTIES COMPILE_FLAGS "-std=c99")
target_link_libraries("ayatana-indicator-keyboard-service" "ayatanaindicatorkeyboardservice" "${SERVICE_DEPS_LIBRARIES} -ldl")
install(TARGETS "ayatana-indicator-keyboard-service" RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}")