mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 11:49:07 +08:00
8061c47041
* Devendor palsigslot * Rectify usage doc * No absolute paths * Update versions
27 lines
922 B
Diff
27 lines
922 B
Diff
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)
|