From ed704caede31f9e49b887a87c30f3c8adc72692e Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Tue, 4 Sep 2018 11:18:03 +0200 Subject: [PATCH] CMake: Keep empty adv library for backwards compatibility --- build/cmake/lib/CMakeLists.txt | 2 +- build/cmake/lib/adv/CMakeLists.txt | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 build/cmake/lib/adv/CMakeLists.txt diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt index 99b5357b5d..4f8fc884c2 100644 --- a/build/cmake/lib/CMakeLists.txt +++ b/build/cmake/lib/CMakeLists.txt @@ -43,7 +43,7 @@ add_opt_lib(net wxUSE_SOCKETS) # Define UI libraries if(wxUSE_GUI) - list(APPEND LIBS core) + list(APPEND LIBS core adv) foreach(lib aui html diff --git a/build/cmake/lib/adv/CMakeLists.txt b/build/cmake/lib/adv/CMakeLists.txt new file mode 100644 index 0000000000..b3e0fc468a --- /dev/null +++ b/build/cmake/lib/adv/CMakeLists.txt @@ -0,0 +1,14 @@ +############################################################################# +# Name: build/cmake/lib/adv/CMakeLists.txt +# Purpose: CMake file for adv library +# Author: Tobias Taschner +# Created: 2016-10-03 +# Copyright: (c) 2016 wxWidgets development team +# Licence: wxWindows licence +############################################################################# + +include(../../source_groups.cmake) + +wx_add_library(adv "${wxSOURCE_DIR}/src/common/dummy.cpp") + +wx_finalize_lib(adv)