day253 86cd6e0532
[marisa-trie] Add new port (#27922)
* [marisa] Add new port

* [marisa] Add new port

* add COPY_SOURCE to fix build

* fix ci

* test arm

* fix version

* !(windows & static)

* !arm

* !arm

* add vcpkg_fixup_pkgconfig to msbuild

* rename port

* fix license and change version to 2020-09-26

* static build on win

* use "version-semver"

* up supports

* up version

* add configure_file when msbuild

* fix empty bindir libdir includedir

* fix msvc build

Co-authored-by: Monica <v-liumonica@microsoft.com>
2022-12-13 19:26:59 -08:00

6 lines
222 B
Plaintext

The package marisa-trie can be imported via CMake FindPkgConfig module:
find_package(PkgConfig REQUIRED)
pkg_check_modules(marisa REQUIRED IMPORTED_TARGET marisa)
target_link_libraries(main PkgConfig::marisa)