mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:19:00 +08:00
[wxWidgets] Fix issue introduced in 9b654a1f21
(#22509)
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
e1e6a004f2
commit
371be89c1e
@ -102,13 +102,15 @@ if(NOT EXISTS ${CURRENT_PACKAGES_DIR}/include/wx/setup.h)
|
||||
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
||||
vcpkg_replace_string("${WX_SETUP_H_FILES_REL}" "${CURRENT_PACKAGES_DIR}" "")
|
||||
vcpkg_replace_string("${WX_SETUP_H_FILES_REL}" "${CURRENT_PACKAGES_DIR}/lib/" "")
|
||||
vcpkg_replace_string("${WX_SETUP_H_FILES_REL}" "/setup.h" "")
|
||||
|
||||
string(REPLACE "${CURRENT_PACKAGES_DIR}/lib/" "" WX_SETUP_H_FILES_REL "${WX_SETUP_H_FILES_REL}")
|
||||
string(REPLACE "/setup.h" "" WX_SETUP_H_REL_RELATIVE "${WX_SETUP_H_FILES_REL}")
|
||||
endif()
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
||||
vcpkg_replace_string("${WX_SETUP_H_FILES_DBG}" "${CURRENT_PACKAGES_DIR}" "")
|
||||
vcpkg_replace_string("${WX_SETUP_H_FILES_DBG}" "${CURRENT_PACKAGES_DIR}/debug/lib/" "")
|
||||
vcpkg_replace_string("${WX_SETUP_H_FILES_DBG}" "/setup.h" "")
|
||||
|
||||
string(REPLACE "${CURRENT_PACKAGES_DIR}/debug/lib/" "" WX_SETUP_H_FILES_DBG "${WX_SETUP_H_FILES_DBG}")
|
||||
string(REPLACE "/setup.h" "" WX_SETUP_H_DBG_RELATIVE "${WX_SETUP_H_FILES_DBG}")
|
||||
endif()
|
||||
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/setup.h.in ${CURRENT_PACKAGES_DIR}/include/wx/setup.h @ONLY)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "wxwidgets",
|
||||
"version-semver": "3.1.5",
|
||||
"port-version": 6,
|
||||
"port-version": 7,
|
||||
"description": [
|
||||
"Widget toolkit and tools library for creating graphical user interfaces (GUIs) for cross-platform applications. ",
|
||||
"Set WXWIDGETS_USE_STL in a custom triplet to build with the wxUSE_STL build option.",
|
||||
|
@ -7342,7 +7342,7 @@
|
||||
},
|
||||
"wxwidgets": {
|
||||
"baseline": "3.1.5",
|
||||
"port-version": 6
|
||||
"port-version": 7
|
||||
},
|
||||
"x-plane": {
|
||||
"baseline": "3.0.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9184caa631070403a5fd8c177b56907a313ad197",
|
||||
"version-semver": "3.1.5",
|
||||
"port-version": 7
|
||||
},
|
||||
{
|
||||
"git-tree": "79ef97e2255a360a5515d0fbdbb839c15bb12548",
|
||||
"version-semver": "3.1.5",
|
||||
|
Loading…
Reference in New Issue
Block a user