mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 03:49:07 +08:00
7 lines
267 B
Plaintext
7 lines
267 B
Plaintext
|
wcslib can be imported via CMake FindPkgConfig module:
|
||
|
|
||
|
find_package(PkgConfig)
|
||
|
pkg_check_modules(wcslib REQUIRED IMPORTED_TARGET wcslib)
|
||
|
target_include_directories(main PRIVATE PkgConfig::wcslib)
|
||
|
target_link_libraries(main PRIVATE PkgConfig::wcslib)
|