Add 'BEFORE' to target_include_directories so we include the headers of the buildin third-party libraries before headers of third-party libraries included in wxTOOLKIT_INCLUDE_DIRS.
23 lines
635 B
CMake
23 lines
635 B
CMake
#############################################################################
|
|
# Name: build/cmake/lib/aui/CMakeLists.txt
|
|
# Purpose: CMake file for aui library
|
|
# Author: Tobias Taschner
|
|
# Created: 2016-10-04
|
|
# Copyright: (c) 2016 wxWidgets development team
|
|
# Licence: wxWindows licence
|
|
#############################################################################
|
|
|
|
include(../../source_groups.cmake)
|
|
|
|
wx_append_sources(AUI_FILES AUI_CMN)
|
|
|
|
if(WXMSW)
|
|
wx_append_sources(AUI_FILES AUI_MSW)
|
|
elseif(WXGTK2)
|
|
wx_append_sources(AUI_FILES AUI_GTK)
|
|
endif()
|
|
|
|
wx_add_library(aui ${AUI_FILES})
|
|
|
|
wx_finalize_lib(aui)
|