~aleteoryx/muditaos

ref: 1cf85c7686dd74cbe60a76fe9664256d96aeb835 muditaos/third-party/libical/CMakeLists.txt -rw-r--r-- 537 bytes
1cf85c76 — Dawid Wojtas [BH-2049] Gapless audio transition 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SET(ENABLE_GTK_DOC OFF)
SET(STATIC_ONLY TRUE)
SET(ICAL_BUILD_DOCS FALSE)
SET(ICAL_GLIB FALSE)
SET(LIBICAL_BUILD_TESTING FALSE)

include(libical/cmake/modules/LibIcalMacrosInternal.cmake)

# Turn off false positive errors caused by calls to strncpy and snprintf.
libical_add_cflag(-Wno-format-truncation NO_FORMAT_TRUNCATION)
libical_add_cflag(-Wno-stringop-truncation NO_STRINGOP_TRUNCATION)

# Turn off false positive errors for debug build.
libical_add_cflag(-Wno-maybe-uninitialized NO_MAYBE_UNINITIALIZED)

add_subdirectory(libical)