Skip to content

Commit

Permalink
[thorvg] use DEBUG/RELEASE options for bindir
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Oct 31, 2022
1 parent 8c591d9 commit f592cd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ports/thorvg/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ if ("tools" IN_LIST FEATURES)
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(
Expand All @@ -37,6 +35,9 @@ vcpkg_configure_meson(
-Dexamples=false
OPTIONS_DEBUG
-Dlog=true
-Dbindir=${CURRENT_PACKAGES_DIR}/debug/bin
OPTIONS_RELEASE
-Dbindir=${CURRENT_PACKAGES_DIR}/bin
)
vcpkg_install_meson()
vcpkg_fixup_pkgconfig()
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": "4da42a44817c38caff21f0df973353d6e09f1822",
"git-tree": "9d7639f461d713d7cd0a1158ed6971f6a5ea903c",
"version": "0.8.2",
"port-version": 0
}
Expand Down

0 comments on commit f592cd4

Please sign in to comment.