File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,15 +100,17 @@ if(NOT EXISTS ${CURRENT_PACKAGES_DIR}/include/wx/setup.h)
100100 file (GLOB_RECURSE WX_SETUP_H_FILES_DBG ${CURRENT_PACKAGES_DIR} /debug/lib/*.h )
101101 file (GLOB_RECURSE WX_SETUP_H_FILES_REL ${CURRENT_PACKAGES_DIR} /lib/*.h )
102102
103- vcpkg_replace_string ("${WX_SETUP_H_FILES_DBG} " "${CURRENT_PACKAGES_DIR} " "" )
104- vcpkg_replace_string ("${WX_SETUP_H_FILES_REL} " "${CURRENT_PACKAGES_DIR} " "" )
105-
106- string (REPLACE "${CURRENT_PACKAGES_DIR} /debug/lib/" "" WX_SETUP_H_FILES_DBG "${WX_SETUP_H_FILES_DBG} " )
107- string (REPLACE "/setup.h" "" WX_SETUP_H_DBG_RELATIVE "${WX_SETUP_H_FILES_DBG} " )
108-
109- string (REPLACE "${CURRENT_PACKAGES_DIR} /lib/" "" WX_SETUP_H_FILES_REL "${WX_SETUP_H_FILES_REL} " )
110- string (REPLACE "/setup.h" "" WX_SETUP_H_REL_RELATIVE "${WX_SETUP_H_FILES_REL} " )
111-
103+ if (NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release" )
104+ 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" "" )
107+ endif ()
108+ if (NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug" )
109+ 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" "" )
112+ endif ()
113+
112114 configure_file (${CMAKE_CURRENT_LIST_DIR} /setup.h.in ${CURRENT_PACKAGES_DIR} /include/wx/setup.h @ONLY )
113115endif ()
114116file (COPY ${CMAKE_CURRENT_LIST_DIR} /vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR} /share/wxwidgets )
Original file line number Diff line number Diff line change 11{
22 "name" : " wxwidgets" ,
33 "version-semver" : " 3.1.5" ,
4- "port-version" : 5 ,
4+ "port-version" : 6 ,
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 73387338 },
73397339 "wxwidgets" : {
73407340 "baseline" : " 3.1.5" ,
7341- "port-version" : 5
7341+ "port-version" : 6
73427342 },
73437343 "x-plane" : {
73447344 "baseline" : " 3.0.3" ,
Original file line number Diff line number Diff line change 11{
22 "versions" : [
3+ {
4+ "git-tree" : " 79ef97e2255a360a5515d0fbdbb839c15bb12548" ,
5+ "version-semver" : " 3.1.5" ,
6+ "port-version" : 6
7+ },
38 {
49 "git-tree" : " f12ef0e93d9ca2f6d1c8cb4ad3703d98359abacd" ,
510 "version-semver" : " 3.1.5" ,
You can’t perform that action at this time.
0 commit comments