mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-15 16:33:15 -03:00
Cmake/MSVC: Fix Qt6 discover for IDEs other than Visual Studio
CMakeSettings.json is a Visual Studio only extention to cmake that isn't supported anywhere else. Not even Visual Studio Code. So we set CMAKE_PREFIX_PATH inside DolphinQt's CMakeLists.txt instead.
This commit is contained in:
@@ -9,10 +9,6 @@
|
||||
"buildRoot": "${workspaceRoot}\\Build\\${name}",
|
||||
"cmakeCommandArgs": "",
|
||||
"variables": [
|
||||
{
|
||||
"name": "CMAKE_PREFIX_PATH",
|
||||
"value": "${workspaceRoot}\\Externals\\Qt\\Qt6.3.0\\x64"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -24,10 +20,6 @@
|
||||
"buildRoot": "${workspaceRoot}\\Build\\${name}",
|
||||
"cmakeCommandArgs": "",
|
||||
"variables": [
|
||||
{
|
||||
"name": "CMAKE_PREFIX_PATH",
|
||||
"value": "${workspaceRoot}\\Externals\\Qt\\Qt6.3.0\\x64"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -39,10 +31,6 @@
|
||||
"buildRoot": "${workspaceRoot}\\Build\\${name}",
|
||||
"cmakeCommandArgs": "",
|
||||
"variables": [
|
||||
{
|
||||
"name": "CMAKE_PREFIX_PATH",
|
||||
"value": "${workspaceRoot}\\Externals\\Qt\\Qt6.3.0\\ARM64"
|
||||
},
|
||||
{
|
||||
"name": "CMAKE_SYSTEM_NAME",
|
||||
"value": "Windows"
|
||||
@@ -62,10 +50,6 @@
|
||||
"buildRoot": "${workspaceRoot}\\Build\\${name}",
|
||||
"cmakeCommandArgs": "",
|
||||
"variables": [
|
||||
{
|
||||
"name": "CMAKE_PREFIX_PATH",
|
||||
"value": "${workspaceRoot}\\Externals\\Qt\\Qt6.3.0\\ARM64"
|
||||
},
|
||||
{
|
||||
"name": "CMAKE_SYSTEM_NAME",
|
||||
"value": "Windows"
|
||||
|
||||
Reference in New Issue
Block a user