aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2021-04-20 08:36:19 +0800
committerGitHub <noreply@github.com>2021-04-19 17:36:19 -0700
commit590c580d8da9643ffdcfc57e566ecb4f2f20a1fd (patch)
tree9959fa93680ec22913584dabf330fb3156405625 /ports
parent25adbcfe419adab60188d09d9ead24148a8a8199 (diff)
downloadvcpkg-590c580d8da9643ffdcfc57e566ecb4f2f20a1fd.tar.gz
vcpkg-590c580d8da9643ffdcfc57e566ecb4f2f20a1fd.zip
[lodepng-c] Disable parallel configure (#17290)
* [lodepng-c] Disable parallel configure * update version record
Diffstat (limited to 'ports')
-rw-r--r--ports/lodepng-c/portfile.cmake9
-rw-r--r--ports/lodepng-c/vcpkg.json3
2 files changed, 7 insertions, 5 deletions
diff --git a/ports/lodepng-c/portfile.cmake b/ports/lodepng-c/portfile.cmake
index 166cd525f..6593d2598 100644
--- a/ports/lodepng-c/portfile.cmake
+++ b/ports/lodepng-c/portfile.cmake
@@ -17,10 +17,11 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
+ DISABLE_PARALLEL_CONFIGURE
OPTIONS_DEBUG
- -DDISABLE_INSTALL_HEADERS=ON
- -DDISABLE_INSTALL_TOOLS=ON
- -DDDISABLE_INSTALL_EXAMPLES=ON
+ -DDISABLE_INSTALL_HEADERS=ON
+ -DDISABLE_INSTALL_TOOLS=ON
+ -DDDISABLE_INSTALL_EXAMPLES=ON
)
vcpkg_install_cmake()
@@ -29,4 +30,4 @@ vcpkg_copy_pdbs()
# Moves all .cmake files from /debug/share/lodepng/ to /share/lodepng/
vcpkg_fixup_cmake_targets()
-file(INSTALL ${SOURCE_PATH}/lodepng.h DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(INSTALL "${SOURCE_PATH}/lodepng.h" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/lodepng-c/vcpkg.json b/ports/lodepng-c/vcpkg.json
index 111190d1d..3e027e632 100644
--- a/ports/lodepng-c/vcpkg.json
+++ b/ports/lodepng-c/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "lodepng-c",
- "version-string": "2021-03-01",
+ "version-date": "2021-03-01",
+ "port-version": 1,
"description": "PNG encoder and decoder in C",
"homepage": "https://github.com/lvandeve/lodepng"
}