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:
@@ -8,13 +8,8 @@
|
||||
#############################################################################
|
||||
|
||||
if(wxUSE_LIBTIFF STREQUAL "builtin")
|
||||
# TODO: implement building libtiff via ExternalProject_Add()
|
||||
if(UNIX AND NOT APPLE)
|
||||
message(WARNING "Builtin libtiff on unix is currently not supported")
|
||||
wx_option_force_value(wxUSE_LIBTIFF OFF)
|
||||
return()
|
||||
endif()
|
||||
|
||||
# TODO: implement building libtiff via its CMake file, using
|
||||
# add_subdirectory or ExternalProject_Add
|
||||
if(WIN32)
|
||||
set(TIFF_PLATFORM_SRC src/tiff/libtiff/tif_win32.c)
|
||||
elseif(UNIX)
|
||||
|
Reference in New Issue
Block a user