mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 04:34:07 +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
|
||||
},
|
||||
"libconfig": {
|
||||
"baseline": "1.7.2-2",
|
||||
"port-version": 0
|
||||
"baseline": "1.7.2",
|
||||
"port-version": 3
|
||||
},
|
||||
"libconfuse": {
|
||||
"baseline": "2019-07-14",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c82b5fbc0a37ebd11ecb4f87b9d63df2552805e7",
|
||||
"version-string": "1.7.2",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "02e991af7253bd4ef78d90fc43680c98be8bc817",
|
||||
"version-string": "1.7.2-2",
|
||||
|
@ -37,7 +37,10 @@ else()
|
||||
target_compile_definitions(libconfig++ PUBLIC -DLIBCONFIGXX_STATIC)
|
||||
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)
|
||||
|
||||
install(
|
||||
|
@ -1,4 +1,5 @@
|
||||
Source: libconfig
|
||||
Version: 1.7.2-2
|
||||
Version: 1.7.2
|
||||
Port-Version: 3
|
||||
Homepage: https://github.com/hyperrealm/libconfig
|
||||
Description: C/C++ library for processing configuration files
|
||||
|
Loading…
Reference in New Issue
Block a user