mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
cmake: Allow D3D detection outside of the VS Developer Command Prompt
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2276>
This commit is contained in:
parent
34d82ea082
commit
9652fee1ee
|
@ -128,10 +128,10 @@ if(ANDROID)
|
|||
endif()
|
||||
if(MSVC)
|
||||
find_package(wil CONFIG)
|
||||
find_library(D3D11_LIBRARY d3d11)
|
||||
find_library(D3D12_LIBRARY d3d12)
|
||||
find_library(DXGI_LIBRARY dxgi)
|
||||
find_library(WINDOWSAPP_LIBRARY WindowsApp)
|
||||
set(D3D11_LIBRARY d3d11)
|
||||
set(D3D12_LIBRARY d3d12)
|
||||
set(DXGI_LIBRARY dxgi)
|
||||
set(WINDOWSAPP_LIBRARY WindowsApp)
|
||||
endif()
|
||||
|
||||
#https://github.com/arsenm/sanitizers-cmake
|
||||
|
|
Loading…
Reference in a new issue