mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
Fixed link error for MSVC x64 build with modern Windows SDK
win32video.obj : error LNK2001: unresolved external symbol IID_IDirectDraw2
This commit is contained in:
parent
33145610b1
commit
fd07b56ae9
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ if( WIN32 )
|
||||||
( MSVC15 AND NOT CMAKE_GENERATOR_TOOLSET STREQUAL "v150_xp" ) ) # For VS 2017.
|
( MSVC15 AND NOT CMAKE_GENERATOR_TOOLSET STREQUAL "v150_xp" ) ) # For VS 2017.
|
||||||
# for modern Windows SDKs the DirectX headers should be available by default.
|
# for modern Windows SDKs the DirectX headers should be available by default.
|
||||||
set( DX_dinput8_LIBRARY dinput8 )
|
set( DX_dinput8_LIBRARY dinput8 )
|
||||||
|
set( DX_dxguid_LIBRARY dxguid )
|
||||||
else()
|
else()
|
||||||
|
|
||||||
find_path( D3D_INCLUDE_DIR d3d9.h
|
find_path( D3D_INCLUDE_DIR d3d9.h
|
||||||
|
|
Loading…
Reference in a new issue