mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
GH-1167: Remove expat CPP sources from globbed C++ source file list.
This commit is contained in:
parent
324e04e568
commit
db91266c34
@ -1,8 +1,13 @@
|
|||||||
set(LIBNAME "XML")
|
set(LIBNAME "XML")
|
||||||
set(POCO_LIBNAME "Poco${LIBNAME}")
|
set(POCO_LIBNAME "Poco${LIBNAME}")
|
||||||
|
|
||||||
|
# Expat CPP sources to be excluded from globbed SRCS_G
|
||||||
|
# They are added back on the list if POCO_UNBUNDLED is not set
|
||||||
|
set(EXPAT_CPP "${CMAKE_CURRENT_SOURCE_DIR}/src/xmlparse.cpp")
|
||||||
|
|
||||||
# Sources
|
# Sources
|
||||||
file(GLOB SRCS_G "src/*.cpp")
|
file(GLOB SRCS_G "src/*.cpp")
|
||||||
|
list(REMOVE_ITEM SRCS_G ${EXPAT_CPP})
|
||||||
POCO_SOURCES_AUTO( SRCS ${SRCS_G})
|
POCO_SOURCES_AUTO( SRCS ${SRCS_G})
|
||||||
|
|
||||||
# Headers
|
# Headers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user