aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2024-02-12 16:41:07 +0100
committerRobert Tari <robert@tari.in>2024-02-12 16:41:07 +0100
commitee1824a09d5c650800c14c6c271a74fd504245be (patch)
treecc4dafea9c1ffad385216c8dee982bb8066a027f /src
parentdeb2a444a1beba2e49c212b951be9f907f7a1107 (diff)
downloadayatana-indicator-datetime-ee1824a09d5c650800c14c6c271a74fd504245be.tar.gz
ayatana-indicator-datetime-ee1824a09d5c650800c14c6c271a74fd504245be.tar.bz2
ayatana-indicator-datetime-ee1824a09d5c650800c14c6c271a74fd504245be.zip
src/CMakeLists.txt: suppress Wenum-constexpr-conversion in engine-eds.cpp
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index faf4341..69a2dfc 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -57,6 +57,7 @@ endif()
# add the bin dir to our include path so our code can find the generated header files
include_directories (${CMAKE_CURRENT_BINARY_DIR})
+set_source_files_properties (engine-eds.cpp PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-enum-constexpr-conversion")
add_library (${SERVICE_LIB} STATIC ${SERVICE_C_SOURCES} ${SERVICE_CXX_SOURCES} ${SERVICE_GENERATED_SOURCES})
include_directories (${CMAKE_SOURCE_DIR})
link_directories (${SERVICE_DEPS_LIBRARY_DIRS})