[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:
Bill Healey 2020-09-29 14:23:04 -07:00 committed by GitHub
parent c146787fd3
commit b7c476bade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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()