mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[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 codebe9eb66945/ports/vcpkg-qmake/vcpkg_qmake_configure.cmake (L149)
to generate the existing path above.
This commit is contained in:
parent
3c76dc55f8
commit
c4c8038caa
@ -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",
|
||||
|
@ -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()
|
||||
|
@ -9026,7 +9026,7 @@
|
||||
},
|
||||
"vcpkg-qmake": {
|
||||
"baseline": "2023-03-22",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"vcpkg-tool-bazel": {
|
||||
"baseline": "5.2.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "777a5dadc7b8c11b81d401098c70d3d66d4172b5",
|
||||
"version-date": "2023-03-22",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "82e22019ae07b7150c3fb2a8672d4192eed2782c",
|
||||
"version-date": "2023-03-22",
|
||||
|
Loading…
x
Reference in New Issue
Block a user