CMake: allow to use build-in libraries on Linux

Requires updates of expat and tiff submodules.

Most libraries have their own CMakeLists, add a comment with a suggestion to
use this for implementing build-in support.
This commit is contained in:
Maarten Bent
2020-08-01 11:33:41 +02:00
parent 4cab673556
commit f25a88a13d
5 changed files with 8 additions and 10 deletions

View File

@@ -8,6 +8,8 @@
#############################################################################
if(wxUSE_EXPAT STREQUAL "builtin")
# TODO: implement building expat via its CMake file, using
# add_subdirectory or ExternalProject_Add
wx_add_builtin_library(wxexpat
src/expat/expat/lib/xmlparse.c
src/expat/expat/lib/xmlrole.c