diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-03-26 11:43:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-25 20:43:02 -0700 |
| commit | d98696de851170a5ac24da346b2656023f8db370 (patch) | |
| tree | 6d7fd7be49dc48173fd1725c0dbd696c95a213a6 /ports/libconfig | |
| parent | 42ad12f91d62a6533d909d8b5ee3a46009c2a10a (diff) | |
| download | vcpkg-d98696de851170a5ac24da346b2656023f8db370.tar.gz vcpkg-d98696de851170a5ac24da346b2656023f8db370.zip | |
[vcpkg baseline] Fix CI test (#10508)
* re-trigger ci test
* [kealib] Switch repo to github
* [mongo-c-driver] Set icu as a feature
* [monkeys-audio] Update version to 5.24
* [mongo-c-driver] Fix arm build
* [mongo-c-driver] Re-generate patch
* [mongo-c-driver] Remove key word PRIVATE in patch
* [llvm] Remove default feature tools
* [llvm] Add judgment to install tools
* [llvm] Add more condition
* [llvm] Fix clang cmake files when selecting feature tools
* [halide] Fix build depends info in CONTROL
* update baseline
Diffstat (limited to 'ports/libconfig')
| -rw-r--r-- | ports/libconfig/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libconfig/portfile.cmake | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/ports/libconfig/CONTROL b/ports/libconfig/CONTROL index 3cbedcf5c..b6b5eb74b 100644 --- a/ports/libconfig/CONTROL +++ b/ports/libconfig/CONTROL @@ -1,4 +1,4 @@ Source: libconfig -Version: 1.7.2-1 +Version: 1.7.2-2 Homepage: https://github.com/hyperrealm/libconfig Description: C/C++ library for processing configuration files diff --git a/ports/libconfig/portfile.cmake b/ports/libconfig/portfile.cmake index a3958d342..dd5a4482b 100644 --- a/ports/libconfig/portfile.cmake +++ b/ports/libconfig/portfile.cmake @@ -1,5 +1,3 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO hyperrealm/libconfig @@ -19,6 +17,8 @@ vcpkg_configure_cmake( vcpkg_install_cmake() +vcpkg_copy_pdbs() + foreach(FILE ${CURRENT_PACKAGES_DIR}/include/libconfig.h++ ${CURRENT_PACKAGES_DIR}/include/libconfig.h) file(READ ${FILE} _contents) string(REPLACE "defined(LIBCONFIGXX_EXPORTS)" "0" _contents "${_contents}") @@ -34,6 +34,4 @@ foreach(FILE ${CURRENT_PACKAGES_DIR}/include/libconfig.h++ ${CURRENT_PACKAGES_DI file(WRITE ${FILE} "${_contents}") endforeach() -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libconfig RENAME copyright) - -vcpkg_copy_pdbs() +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
