Skip to content

Commit

Permalink
[thorvg] fix windows install
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Oct 30, 2022
1 parent fb14b76 commit 62e09a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ports/thorvg/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ else()
endif()

if ("tools" IN_LIST FEATURES)
if(VCPKG_TARGET_IS_WINDOWS)
message(FATAL_ERROR "This feature doesn't support Windows platform")
endif()
list(APPEND BUILD_OPTIONS -Dtools=all)
# locate tools under "${CURRENT_PACKAGES_DIR}/bin"
list(APPEND BUILD_OPTIONS -Dbindir=${CURRENT_PACKAGES_DIR}/bin)
endif()

vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${BUILD_OPTIONS}
-Dbindir=${CURRENT_PACKAGES_DIR}/bin
# see ${SOURCE_PATH}/meson_options.txt
-Dengines=sw
-Dloaders=all
Expand Down
2 changes: 1 addition & 1 deletion versions/t-/thorvg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "2c1133fffca4bab69d856727407ec56f2ecda85f",
"git-tree": "0e421f03692c9b5060e7c6909acaabfc5f3a24ba",
"version": "0.8.2",
"port-version": 0
}
Expand Down

0 comments on commit 62e09a2

Please sign in to comment.