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.
[vcpkg baseline][pangolin] Fix regressions (microsoft#28680)
* Devendor palsigslot * Rectify usage doc * No absolute paths * Update versions
- Loading branch information
Showing
6 changed files
with
40 additions
and
5 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/cmake/PangolinConfig.cmake.in b/cmake/PangolinConfig.cmake.in | ||
index f891e34..6fbfc7d 100644 | ||
--- a/cmake/PangolinConfig.cmake.in | ||
+++ b/cmake/PangolinConfig.cmake.in | ||
@@ -12,6 +12,7 @@ SET( Pangolin_LIBRARY "${Pangolin_LIBRARIES}" ) | ||
|
||
include(CMakeFindDependencyMacro) | ||
find_dependency(Eigen3) | ||
+find_dependency(PalSigslot CONFIG) | ||
|
||
if (UNIX) | ||
find_dependency(Threads) | ||
diff --git a/components/pango_core/CMakeLists.txt b/components/pango_core/CMakeLists.txt | ||
index 315913d..1d1a1d0 100644 | ||
--- a/components/pango_core/CMakeLists.txt | ||
+++ b/components/pango_core/CMakeLists.txt | ||
@@ -44,6 +44,9 @@ install(DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/include" | ||
DESTINATION ${CMAKE_INSTALL_PREFIX} | ||
) | ||
|
||
+find_package(PalSigslot CONFIG REQUIRED) | ||
+target_link_libraries(${COMPONENT} PUBLIC Pal::Sigslot) | ||
+ | ||
find_package(Threads QUIET) | ||
if(Threads_FOUND) | ||
target_link_libraries(${COMPONENT} PUBLIC Threads::Threads) |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
The package pangolin is compatible with built-in CMake targets: | ||
pangolin provides CMake targets: | ||
|
||
find_package(Pangolin CONFIG REQUIRED) | ||
target_link_libraries(main PRIVATE pangolin) | ||
target_include_directories(main PRIVATE ${Pangolin_INCLUDE_DIRS}) | ||
target_link_libraries(main PRIVATE ${Pangolin_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
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