зеркало из https://github.com/microsoft/vcpkg.git
[lodepng] Fix cannot open include file "lodepng.h" (#22007)
* [lodepng] Fix cannot open include file "lodepng.h" * update version Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
This commit is contained in:
Родитель
404819d78f
Коммит
dcde522901
|
@ -3,7 +3,7 @@ project(lodepng)
|
|||
|
||||
add_library(lodepng lodepng.cpp)
|
||||
target_include_directories(lodepng PUBLIC
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/lodepng-config.cmake" "include(\"\${CMAKE_CURRENT_LIST_DIR}/lodepng-targets.cmake\")")
|
||||
|
@ -15,7 +15,7 @@ install(EXPORT lodepng-targets DESTINATION share/lodepng/)
|
|||
|
||||
add_library(lodepng-c lodepng.c)
|
||||
target_include_directories(lodepng-c PUBLIC
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/lodepng-c-config.cmake" "include(\"\${CMAKE_CURRENT_LIST_DIR}/lodepng-c-targets.cmake\")")
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "lodepng",
|
||||
"version-date": "2021-12-04",
|
||||
"port-version": 1,
|
||||
"description": "PNG encoder and decoder in C++",
|
||||
"homepage": "https://github.com/lvandeve/lodepng",
|
||||
"dependencies": [
|
||||
|
|
|
@ -4154,7 +4154,7 @@
|
|||
},
|
||||
"lodepng": {
|
||||
"baseline": "2021-12-04",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"lodepng-c": {
|
||||
"baseline": "deprecated",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "744376b1eace2fdab47d24858d7d1e79f32eefa3",
|
||||
"version-date": "2021-12-04",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "454b1276a4855fba7699cbb07ca783d32d1baf7c",
|
||||
"version-date": "2021-12-04",
|
||||
|
|
Загрузка…
Ссылка в новой задаче