mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 18:30:11 +08:00
[libconfig] shlwapi is not available on linux (#15613)
* shlwapi is not available on linux This fixes error while building for `x64-linux-dynamic`. * Update control version * Update port_versions Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
This commit is contained in:
parent
2f542209ce
commit
852d471ff3
@ -2853,8 +2853,8 @@
|
|||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"libconfig": {
|
"libconfig": {
|
||||||
"baseline": "1.7.2-2",
|
"baseline": "1.7.2",
|
||||||
"port-version": 0
|
"port-version": 3
|
||||||
},
|
},
|
||||||
"libconfuse": {
|
"libconfuse": {
|
||||||
"baseline": "2019-07-14",
|
"baseline": "2019-07-14",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "c82b5fbc0a37ebd11ecb4f87b9d63df2552805e7",
|
||||||
|
"version-string": "1.7.2",
|
||||||
|
"port-version": 3
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "02e991af7253bd4ef78d90fc43680c98be8bc817",
|
"git-tree": "02e991af7253bd4ef78d90fc43680c98be8bc817",
|
||||||
"version-string": "1.7.2-2",
|
"version-string": "1.7.2-2",
|
||||||
|
@ -37,7 +37,10 @@ else()
|
|||||||
target_compile_definitions(libconfig++ PUBLIC -DLIBCONFIGXX_STATIC)
|
target_compile_definitions(libconfig++ PUBLIC -DLIBCONFIGXX_STATIC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(libconfig shlwapi)
|
if (WIN32)
|
||||||
|
# Linux doesn't have shlwapi
|
||||||
|
target_link_libraries(libconfig shlwapi)
|
||||||
|
endif()
|
||||||
target_link_libraries(libconfig++ PRIVATE libconfig)
|
target_link_libraries(libconfig++ PRIVATE libconfig)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
Source: libconfig
|
Source: libconfig
|
||||||
Version: 1.7.2-2
|
Version: 1.7.2
|
||||||
|
Port-Version: 3
|
||||||
Homepage: https://github.com/hyperrealm/libconfig
|
Homepage: https://github.com/hyperrealm/libconfig
|
||||||
Description: C/C++ library for processing configuration files
|
Description: C/C++ library for processing configuration files
|
||||||
|
Loading…
Reference in New Issue
Block a user