https://bugs.kde.org/show_bug.cgi?id=413416

--- Comment #7 from Christophe Giboudeaux <christo...@krop.fr> ---
It can be fixed with:

diff --git a/src/lib/external/media_ctrl/CMakeLists.txt
b/src/lib/external/media_ctrl/CMakeLists.txt
index 24870ad3b..ec8e2fb71 100644
--- a/src/lib/external/media_ctrl/CMakeLists.txt
+++ b/src/lib/external/media_ctrl/CMakeLists.txt
@@ -1,10 +1,10 @@
 if(HAVE_LINUX_INPUT_H)
   # Create a static library media_ctrl
-  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --std=c99")
   include_directories(
     ${CMAKE_BINARY_DIR}
   )
   add_library(media_ctrl STATIC
     mediactrl.c
   )
+  set_target_properties(media_ctrl PROPERTIES C_STANDARD 99)
 endif()

but that means the ECM backward compatibility is broken

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to