From 4657d2d3deab5963eea70d1a83f5efae80d116f0 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 2 Sep 2019 20:46:04 +0200 Subject: [PATCH] CMake: Drop .c files from expat_SRCS that are empty unless included --- expat/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 4328b982..64e6e36b 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -229,8 +229,9 @@ set(expat_SRCS lib/xmlparse.c lib/xmlrole.c lib/xmltok.c - lib/xmltok_impl.c - lib/xmltok_ns.c +# NOTE: ISO C forbids an empty translation unit +# lib/xmltok_impl.c +# lib/xmltok_ns.c ) if(EXPAT_SHARED_LIBS)