experiment with cmake not trying to find directx
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
9de7b9c987
commit
ffa58c38a3
1 changed files with 2 additions and 9 deletions
|
|
@ -98,15 +98,8 @@ if(MW_TRY_VULKAN)
|
|||
endif()
|
||||
|
||||
if(MW_TRY_DIRECT3D9)
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/resource/FindDirectX.cmake)
|
||||
if(DIRECTX_FOUND)
|
||||
if(MW_TRY_DIRECT3D9)
|
||||
set(MW_BUILD_DIRECT3D9 ON)
|
||||
message(STATUS "Direct3D9 widget has been enabled")
|
||||
endif()
|
||||
else()
|
||||
message(STATUS "DirectX widgets have been disabled (DirectX not found)")
|
||||
endif()
|
||||
set(MW_BUILD_DIRECT3D9 ON)
|
||||
message(STATUS "Direct3D9 widget has been enabled")
|
||||
endif()
|
||||
|
||||
if(MW_BUILD_STATIC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue