File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,13 +102,15 @@ if(NOT EXISTS ${CURRENT_PACKAGES_DIR}/include/wx/setup.h)
102102
103103 if (NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release" )
104104 vcpkg_replace_string ("${WX_SETUP_H_FILES_REL} " "${CURRENT_PACKAGES_DIR} " "" )
105- vcpkg_replace_string ("${WX_SETUP_H_FILES_REL} " "${CURRENT_PACKAGES_DIR} /lib/" "" )
106- vcpkg_replace_string ("${WX_SETUP_H_FILES_REL} " "/setup.h" "" )
105+
106+ string (REPLACE "${CURRENT_PACKAGES_DIR} /lib/" "" WX_SETUP_H_FILES_REL "${WX_SETUP_H_FILES_REL} " )
107+ string (REPLACE "/setup.h" "" WX_SETUP_H_REL_RELATIVE "${WX_SETUP_H_FILES_REL} " )
107108 endif ()
108109 if (NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug" )
109110 vcpkg_replace_string ("${WX_SETUP_H_FILES_DBG} " "${CURRENT_PACKAGES_DIR} " "" )
110- vcpkg_replace_string ("${WX_SETUP_H_FILES_DBG} " "${CURRENT_PACKAGES_DIR} /debug/lib/" "" )
111- vcpkg_replace_string ("${WX_SETUP_H_FILES_DBG} " "/setup.h" "" )
111+
112+ string (REPLACE "${CURRENT_PACKAGES_DIR} /debug/lib/" "" WX_SETUP_H_FILES_DBG "${WX_SETUP_H_FILES_DBG} " )
113+ string (REPLACE "/setup.h" "" WX_SETUP_H_DBG_RELATIVE "${WX_SETUP_H_FILES_DBG} " )
112114 endif ()
113115
114116 configure_file (${CMAKE_CURRENT_LIST_DIR} /setup.h.in ${CURRENT_PACKAGES_DIR} /include/wx/setup.h @ONLY )
Original file line number Diff line number Diff line change 11{
22 "name" : " wxwidgets" ,
33 "version-semver" : " 3.1.5" ,
4- "port-version" : 6 ,
4+ "port-version" : 7 ,
55 "description" : [
66 " Widget toolkit and tools library for creating graphical user interfaces (GUIs) for cross-platform applications. " ,
77 " Set WXWIDGETS_USE_STL in a custom triplet to build with the wxUSE_STL build option." ,
Original file line number Diff line number Diff line change 73427342 },
73437343 "wxwidgets" : {
73447344 "baseline" : " 3.1.5" ,
7345- "port-version" : 6
7345+ "port-version" : 7
73467346 },
73477347 "x-plane" : {
73487348 "baseline" : " 3.0.3" ,
Original file line number Diff line number Diff line change 11{
22 "versions" : [
3+ {
4+ "git-tree" : " 9184caa631070403a5fd8c177b56907a313ad197" ,
5+ "version-semver" : " 3.1.5" ,
6+ "port-version" : 7
7+ },
38 {
49 "git-tree" : " 79ef97e2255a360a5515d0fbdbb839c15bb12548" ,
510 "version-semver" : " 3.1.5" ,
You can’t perform that action at this time.
0 commit comments