forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[arrow] Fix CMake link error (microsoft#22387)
* [arrow] Fix CMake link error * update version * [arrow] update vcpkg-cmake-wrapper.cmake * update version Co-authored-by: Lily Wang <[email protected]>
- Loading branch information
Showing
6 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The package arrow provides CMake targets: | ||
|
||
find_package(Arrow CONFIG REQUIRED) | ||
target_link_libraries(main PRIVATE ${ARROW_LIBRARIES}) | ||
|
||
find_package(Parquet CONFIG REQUIRED) | ||
target_link_libraries(main PRIVATE ${PARQUET_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
_find_package(${ARGS}) | ||
|
||
if(TARGET arrow_static) | ||
list(APPEND ARROW_LIBRARIES arrow_static) | ||
list(APPEND PARQUET_LIBRARIES parquet_static) | ||
elseif (TARGET arrow_shared) | ||
list(APPEND ARROW_LIBRARIES arrow_shared) | ||
list(APPEND PARQUET_LIBRARIES parquet_shared) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters