mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-23 14:45:04 +08:00
CMake: Allow to use wxLIB_TARGETS in install.cmake
Move include of install.cmake below library inclusions, so wxLIB_TARGETS will be filled with all the built libraries once install.cmake is executed.
This commit is contained in:
@@ -15,7 +15,6 @@ include(build/cmake/functions.cmake) # wxWidgets functions
|
||||
include(build/cmake/toolkit.cmake) # Platform/toolkit settings
|
||||
include(build/cmake/options.cmake) # User options
|
||||
include(build/cmake/init.cmake) # Init various global build vars
|
||||
include(build/cmake/install.cmake) # Install target support
|
||||
include(build/cmake/pch.cmake) # Precompiled header support
|
||||
|
||||
add_subdirectory(build/cmake/lib libs)
|
||||
@@ -52,6 +51,9 @@ if(NOT MSVC)
|
||||
include(build/cmake/config.cmake)
|
||||
endif()
|
||||
|
||||
# Install target support
|
||||
include(build/cmake/install.cmake)
|
||||
|
||||
# Determine minimum required OS at runtime
|
||||
set(wxREQUIRED_OS_DESC "${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR}")
|
||||
if(MSVC OR MINGW OR CYGWIN)
|
||||
|
||||
Reference in New Issue
Block a user