Commit eb2672a0 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[kimpanel] Set C standard using proper cmake feature

Instead of manually via CMAKE_C_FLAGS
parent dabfc009
......@@ -6,7 +6,7 @@ if(IBUS_FOUND AND GLIB2_FOUND AND GOBJECT_FOUND)
find_package(XCB COMPONENTS XCB KEYSYMS)
if (Qt5X11Extras_FOUND AND XCB_XCB_FOUND AND XCB_KEYSYMS_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
set(CMAKE_C_STANDARD 99)
add_executable(kimpanel-ibus-panel
ibus15/xkblayoutmanager.cpp
ibus15/gtkaccelparse_p.c
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment