Skip to content

Commit

Permalink
<fix>(build): fix boost uuid exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyonRay committed Dec 14, 2023
1 parent a6c64cf commit 7729257
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ if (WIN32)
add_definitions(-D_WIN32_WINNT=0x0601)
add_definitions(-DBOOST_USE_WINAPI_VERSION=BOOST_WINAPI_VERSION_WIN7)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS "ON")
else ()
add_definitions(-DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX)
endif ()

set(JAVA_SDK_JNI_CMAKE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/cmake" CACHE PATH "The cmake path for the library")
Expand Down
1 change: 0 additions & 1 deletion test/testTransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ struct TestTxFixture
};

BOOST_FIXTURE_TEST_SUITE(TransactionTest, TestTxFixture)

const char* g_hw_abi =
"[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],"
"\"name\":\"get\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}]"
Expand Down
5 changes: 3 additions & 2 deletions vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
{
"kind": "git",
"repository": "https://github.com/FISCO-BCOS/registry",
"baseline": "c15466a352b8daede8d2c447670a761ad736c132",
"baseline": "ffebe39f161b78791148924f18ed0c9d4d4bce71",
"packages": [
"openssl",
"hsm-crypto",
"fisco-bcos-cpp-sdk",
"wedprcrypto",
"secp256k1"
"secp256k1",
"boost-uuid"
]
}
]
Expand Down

0 comments on commit 7729257

Please sign in to comment.