Skip to content

Commit

Permalink
[cpptoml] Disable LIBCXX feature (#34507)
Browse files Browse the repository at this point in the history
* [cpptoml] Disable LIBCXX feature

* version

* ${VERSION}

* version
  • Loading branch information
FrankXie05 authored Oct 17, 2023
1 parent 034298f commit 5a62a63
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions ports/cpptoml/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO skystrife/cpptoml
REF fededad7169e538ca47e11a9ee9251bc361a9a65
SHA512 2ec50f4585bca33bb343170470048a7d7e7902f1ffa5709cf84ddf9f53a899ff1cc9ffa49e059f6dad93d13823c4d2661bc8109e4356078cdbdfef1a2be6a622
REF "v${VERSION}"
SHA512 14edce576514d53a7e13562d7f8d2b66ea2b95f44038396c0e26232ec81783042ebecec31ee272a99afef96d5c8582a8e81ea5167a787844b98de6ee6f545cc5
HEAD_REF master
)

if(NOT VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_MINGW)
list(APPEND OPTIONS -DENABLE_LIBCXX=OFF)
endif()

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${OPTIONS}
-DCPPTOML_BUILD_EXAMPLES=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
)
Expand Down
2 changes: 1 addition & 1 deletion ports/cpptoml/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cpptoml",
"version": "0.1.1",
"port-version": 3,
"port-version": 4,
"description": "A header-only library for parsing TOML configuration files.",
"homepage": "https://github.com/skystrife/cpptoml",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,7 @@
},
"cpptoml": {
"baseline": "0.1.1",
"port-version": 3
"port-version": 4
},
"cppunit": {
"baseline": "1.15.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cpptoml.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6993c08a35db3961ad0543456f236e3e5a2492c9",
"version": "0.1.1",
"port-version": 4
},
{
"git-tree": "fde8b7854f0796406eada5609cb2cc54728d73db",
"version": "0.1.1",
Expand Down

0 comments on commit 5a62a63

Please sign in to comment.