mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:19:08 +08:00
[pangolin] Missing Pangolin header fix: Copy missing pangolin_export.h file regardless of library linkage (#13154)
* Copy missing pangolin_export.h file regardless of library linkage * Update portfile.cmake * Update control version for Pangolin * Update portfile.cmake * Update CONTROL Co-authored-by: Bill Healey <bill@presto.com> Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
This commit is contained in:
parent
c146787fd3
commit
b7c476bade
@ -1,6 +1,6 @@
|
||||
Source: pangolin
|
||||
Version: 0.5
|
||||
Port-Version: 9
|
||||
Port-Version: 10
|
||||
Build-Depends: eigen3, glew, libpng, libjpeg-turbo, ffmpeg
|
||||
Homepage: https://github.com/stevenlovegrove/Pangolin
|
||||
Description: Lightweight GUI Library
|
||||
|
@ -50,7 +50,9 @@ if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/share/pangolin/PangolinTargets-release.cmake
|
||||
"lib/pangolin.dll" "bin/pangolin.dll"
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
# Copy missing header file
|
||||
file(COPY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/src/include/pangolin/pangolin_export.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/pangolin)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user