Fixing embarrassing Cmake file issues

This commit is contained in:
wallisc 2017-06-29 21:58:14 -07:00
parent 049fea3a46
commit 7c59a55a8f
2 changed files with 8 additions and 8 deletions

View File

@ -363,8 +363,8 @@ if (WIN32 AND NOT NO_DX12)
# The DX12 SDK (Win 10 SDK) is a super-set of the DXSDK
set(DXSDK_FOUND TRUE)
set(DXSDK_INCLUDE_DIR $(D3D12_INCLUDE_DIRS))
set(DXSDK_LIBRARIES $(D3D12_LIBRARIES))
set(DXSDK_INCLUDE_DIR ${D3D12_INCLUDE_DIRS})
set(DXSDK_LIBRARIES ${D3D12_LIBRARIES})
endif()
endif()

View File

@ -69,7 +69,7 @@ if (NOT NO_OPENGL)
endif()
endif()
if (DXSDK_FOUND AND NOT NO_DX)
if (DXSDK_FOUND AND NOT NO_DX11)
add_subdirectory(dxViewer)