Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lodepng] Fix cannot open include file "lodepng.h" #22007

Merged
merged 2 commits into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ports/lodepng/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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\")")
Expand All @@ -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\")")
Expand Down
1 change: 1 addition & 0 deletions ports/lodepng/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4150,7 +4150,7 @@
},
"lodepng": {
"baseline": "2021-12-04",
"port-version": 0
"port-version": 1
},
"lodepng-c": {
"baseline": "deprecated",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/lodepng.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "744376b1eace2fdab47d24858d7d1e79f32eefa3",
"version-date": "2021-12-04",
"port-version": 1
},
{
"git-tree": "454b1276a4855fba7699cbb07ca783d32d1baf7c",
"version-date": "2021-12-04",
Expand Down