[vcpkg-qmake] Remove unnecessary directory (#37752)

Recently when I was using vcpkg-qmake, I found that a function in the
`ports/vcpkg-qmake/vcpkg_qmake_configure.cmake` file was repeated:

be9eb66945/ports/vcpkg-qmake/vcpkg_qmake_configure.cmake (L143)
By running this line of code, we will configure the generated `qt.conf`
file. At the same time, if the
`${CURRENT_BUILDTREES_DIR}/${config_triplet}/` path does not exist, we
will also generate it.
Then we back up the environment variables and run the code
be9eb66945/ports/vcpkg-qmake/vcpkg_qmake_configure.cmake (L149)
to generate the existing path above.
This commit is contained in:
JonLiu1993 2024-03-28 12:37:50 -07:00 committed by GitHub
parent 3c76dc55f8
commit c4c8038caa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,7 @@
{
"name": "vcpkg-qmake",
"version-date": "2023-03-22",
"port-version": 1,
"documentation": "https://vcpkg.io/en/docs/README.html",
"license": "MIT",
"supports": "native",

View File

@ -146,7 +146,6 @@ function(vcpkg_qmake_configure)
vcpkg_host_path_list(PREPEND PKG_CONFIG_PATH "${prefix}/lib/pkgconfig" "${CURRENT_INSTALLED_DIR}/share/pkgconfig")
message(STATUS "Configuring ${config_triplet}")
file(MAKE_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${config_triplet}")
if(DEFINED arg_OPTIONS OR DEFINED arg_OPTIONS_${buildtype})
set(options -- ${arg_OPTIONS} ${arg_OPTIONS_${buildtype}})
endif()

View File

@ -9026,7 +9026,7 @@
},
"vcpkg-qmake": {
"baseline": "2023-03-22",
"port-version": 0
"port-version": 1
},
"vcpkg-tool-bazel": {
"baseline": "5.2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "777a5dadc7b8c11b81d401098c70d3d66d4172b5",
"version-date": "2023-03-22",
"port-version": 1
},
{
"git-tree": "82e22019ae07b7150c3fb2a8672d4192eed2782c",
"version-date": "2023-03-22",