You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ vcpkg install cpp-pinyin
Computing installation plan...
The following packages are already installed:
cpp-pinyin:[email protected]
cpp-pinyin:arm64-osx is already installed
Total install time: 5.12 us
cpp-pinyin provides CMake targets:
find_package(cpp-pinyin CONFIG REQUIRED)
target_link_libraries(main PRIVATE cpp-pinyin::cpp-pinyin)
To use the library, you need to copy the dictionary files to the binary directory.
add_custom_command(TARGET main POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy_directory
"${cpp-pinyin_DIR}/dict"
"$<TARGET_FILE_DIR:main>/dict"
)
请问如何解决?
The text was updated successfully, but these errors were encountered:
Hi,
目前的版本在 macOS 下,无论是仅安装
pypinyin
还是同时安装pypinyin
&cpp-pinyin
,在 build 时都会报错:cpp-pinyin
是通过vcpkg
安装的:请问如何解决?
The text was updated successfully, but these errors were encountered: