CMake: declare third-party libraries in options

So the wxUSE_[lib] variables can be used in init.cmake.
This commit is contained in:
Maarten Bent
2018-01-29 00:12:27 +01:00
parent e6b9b571ab
commit 04b79788fc
7 changed files with 7 additions and 13 deletions

View File

@@ -7,9 +7,6 @@
# Licence: wxWindows licence
#############################################################################
wx_add_thirdparty_library(wxUSE_ZLIB ZLIB "use zlib for LZW compression"
DEFAULT_APPLE sys)
if(wxUSE_ZLIB STREQUAL "builtin")
wx_add_builtin_library(wxzlib
src/zlib/adler32.c