mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:53:02 +08:00
[liblas]Fix ${_IMPORT_PREFIX} in liblas-depends-*.cmake. (#7920)
* [liblas]Fix ${_IMPORT_PREFIX} in liblas-depends-debug.cmake/liblas-depends-release.cmake. * [liblas]Fix depends.cmake. * [liblas]Use vcpkg_fixup_cmake_targets to handle liblas-depends-*.cmake.
This commit is contained in:
parent
7a33372afd
commit
0de501a3f4
@ -1,5 +1,5 @@
|
||||
Source: liblas
|
||||
Version: 1.8.1-2
|
||||
Version: 1.8.1-3
|
||||
Build-Depends: boost, boost-thread, boost-system, boost-iostreams, boost-filesystem, libgeotiff
|
||||
Description: A C/C++ library for reading and writing the very common LAS LiDAR format.
|
||||
|
||||
|
@ -36,15 +36,13 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/doc)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
endif()
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/share/cmake/liblas/liblas-depends.cmake)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/share/cmake/libLAS/liblas-depends.cmake)
|
||||
|
||||
if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/share/cmake/liblas)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/liblas)
|
||||
endif()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/libLAS)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/liblas RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
Loading…
Reference in New Issue
Block a user