[cleishm-thermo-cpp] Update to 2.1.0 (#52946)

This commit is contained in:
Weihang Ding 2026-07-22 07:15:21 +08:00 committed by GitHub
parent f55962eaff
commit 78e168b9ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 27 additions and 3 deletions

View File

@ -0,0 +1,16 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c7c2d2..e1b4ba6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,6 +21,11 @@ set(CMAKE_CXX_EXTENSIONS OFF)
add_library(thermo INTERFACE)
add_library(thermo::thermo ALIAS thermo)
+target_compile_options(thermo INTERFACE
+ "$<$<CXX_COMPILER_ID:MSVC>:/Zc:__cplusplus>"
+ "$<$<CXX_COMPILER_ID:MSVC>:/utf-8>"
+)
+
target_include_directories(thermo INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>

View File

@ -2,14 +2,17 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cleishm/thermo-cpp
REF "v${VERSION}"
SHA512 528456aca2c2bfccab8dbf459c3a66532c67e3ca7fbdff39b014ac7777329b8e570862bc4960ff2b647c518d271380602c7b793e9fff72a017eed395559caab2
SHA512 45b8801f95990b7290ac8230fba81965364e3166fa5d71585c680f04db816469dbeca41683dc1d5fae7e6214a090d36bdb4e6f32ded23bf95aeffd74f74b8194
HEAD_REF main
PATCHES
001-fix-flags.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DTHERMO_BUILD_TESTS=OFF
-DTHERMO_BUILD_DOCS=OFF
)
vcpkg_cmake_install()

View File

@ -1,6 +1,6 @@
{
"name": "cleishm-thermo-cpp",
"version": "2.0.0",
"version": "2.1.0",
"description": "Type-safe temperature handling library modeled after std::chrono",
"homepage": "https://github.com/cleishm/thermo-cpp",
"license": "MIT",

View File

@ -1813,7 +1813,7 @@
"port-version": 0
},
"cleishm-thermo-cpp": {
"baseline": "2.0.0",
"baseline": "2.1.0",
"port-version": 0
},
"clfft": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b0b218a3b748228bbbe0804df6d692d134cfb4f0",
"version": "2.1.0",
"port-version": 0
},
{
"git-tree": "2bb41149cb766344588a2847fcd672ff2a84f5db",
"version": "2.0.0",