CMake: Drop .c files from expat_SRCS that are empty unless included

This commit is contained in:
Sebastian Pipping 2019-09-02 20:46:04 +02:00
parent 201094142d
commit 4657d2d3de

View file

@ -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)