mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:01:48 +08:00
[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:
parent
404819d78f
commit
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",
|
||||
|
Loading…
Reference in New Issue
Block a user