Skip to content

Commit 123db74

Browse files
Jojo-Schmitzigorkorsukov
authored andcommitted
Fix GH#31584: Build on Windows using Visual Studio
1 parent 24669d4 commit 123db74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakePresets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@
6868
"generator": "Ninja",
6969
"binaryDir": "${sourceDir}/build/${presetName}",
7070
"cacheVariables": {
71-
"CMAKE_TOOLCHAIN_FILE": "${env:QT_DIR}/lib/cmake/Qt6/qt.toolchain.cmake",
71+
"CMAKE_TOOLCHAIN_FILE": "$env{QT_DIR}/lib/cmake/Qt6/qt.toolchain.cmake",
7272
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/${presetName}/install",
73-
"CMAKE_PREFIX_PATH": "${env:QT_DIR}/lib/cmake",
73+
"CMAKE_PREFIX_PATH": "$env{QT_DIR}/lib/cmake",
7474
"CMAKE_C_COMPILER": "clang",
7575
"CMAKE_CXX_COMPILER": "clang++",
7676
"QT_QML_GENERATE_QMLLS_INI": "ON",

0 commit comments

Comments
 (0)