diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/boost-modular-build-helper/boost-modular-build.cmake | 6 | ||||
| -rw-r--r-- | ports/boost-modular-build-helper/vcpkg.json | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/boost-modular-build-helper/boost-modular-build.cmake b/ports/boost-modular-build-helper/boost-modular-build.cmake index fecb98651..f8a35a207 100644 --- a/ports/boost-modular-build-helper/boost-modular-build.cmake +++ b/ports/boost-modular-build-helper/boost-modular-build.cmake @@ -300,7 +300,10 @@ function(boost_modular_build) endif()
set(MSVC_VERSION)
- if(VCPKG_PLATFORM_TOOLSET MATCHES "v142")
+ if(VCPKG_PLATFORM_TOOLSET MATCHES "v143")
+ list(APPEND _bm_OPTIONS toolset=msvc)
+ set(MSVC_VERSION 14.3)
+ elseif(VCPKG_PLATFORM_TOOLSET MATCHES "v142")
list(APPEND _bm_OPTIONS toolset=msvc)
set(MSVC_VERSION 14.2)
elseif(VCPKG_PLATFORM_TOOLSET MATCHES "v141")
@@ -410,6 +413,7 @@ function(boost_modular_build) string(REPLACE "-s-" "-" NEW_FILENAME ${NEW_FILENAME}) # For Release libs
string(REPLACE "-vc141-" "-vc140-" NEW_FILENAME ${NEW_FILENAME}) # To merge VS2017 and VS2015 binaries
string(REPLACE "-vc142-" "-vc140-" NEW_FILENAME ${NEW_FILENAME}) # To merge VS2019 and VS2015 binaries
+ string(REPLACE "-vc143-" "-vc140-" NEW_FILENAME ${NEW_FILENAME}) # To merge VS2022 and VS2015 binaries
string(REPLACE "-sgd-" "-gd-" NEW_FILENAME ${NEW_FILENAME}) # For Debug libs
string(REPLACE "-sgyd-" "-gyd-" NEW_FILENAME ${NEW_FILENAME}) # For Debug libs
string(REPLACE "-x32-" "-" NEW_FILENAME ${NEW_FILENAME}) # To enable CMake 3.10 and earlier to locate the binaries
diff --git a/ports/boost-modular-build-helper/vcpkg.json b/ports/boost-modular-build-helper/vcpkg.json index d7460d8db..192b42066 100644 --- a/ports/boost-modular-build-helper/vcpkg.json +++ b/ports/boost-modular-build-helper/vcpkg.json @@ -1,6 +1,7 @@ { "name": "boost-modular-build-helper", "version-string": "1.76.0", + "port-version": 1, "dependencies": [ "boost-build", "boost-uninstall" |
