paleolimbot commented on issue #922:
URL:
https://github.com/apache/arrow-nanoarrow/issues/922#issuecomment-5220514260
On vcpkg there's also an issue that was pointed out, where flatcc linking is
not handled automatically by downstream CMake consumers, particularly on Windows
```
# Fix bare "flatccrt" in INTERFACE_LINK_LIBRARIES - it's not a target for
consumers
if ("ipc" IN_LIST FEATURES)
if(VCPKG_TARGET_IS_WINDOWS)
set(FLATCCRT_LIB "\${_IMPORT_PREFIX}/lib/flatccrt.lib")
else()
set(FLATCCRT_LIB "\${_IMPORT_PREFIX}/lib/libflatccrt.a")
endif()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/nanoarrow/nanoarrow-targets.cmake"
[[\$<LINK_ONLY:flatccrt>]]
"\$<LINK_ONLY:${FLATCCRT_LIB}>"
)
endif()
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]