mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01: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
|
Source: liblas
|
||||||
Version: 1.8.1-2
|
Version: 1.8.1-3
|
||||||
Build-Depends: boost, boost-thread, boost-system, boost-iostreams, boost-filesystem, libgeotiff
|
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.
|
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)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/doc)
|
||||||
|
|
||||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||||
endif()
|
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)
|
||||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/liblas)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
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…
x
Reference in New Issue
Block a user