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
|
|
@ -97,17 +97,10 @@ if(MW_TRY_VULKAN)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MW_TRY_DIRECT3D9)
|
|
||||||
include(${CMAKE_CURRENT_SOURCE_DIR}/resource/FindDirectX.cmake)
|
|
||||||
if(DIRECTX_FOUND)
|
|
||||||
if(MW_TRY_DIRECT3D9)
|
if(MW_TRY_DIRECT3D9)
|
||||||
set(MW_BUILD_DIRECT3D9 ON)
|
set(MW_BUILD_DIRECT3D9 ON)
|
||||||
message(STATUS "Direct3D9 widget has been enabled")
|
message(STATUS "Direct3D9 widget has been enabled")
|
||||||
endif()
|
endif()
|
||||||
else()
|
|
||||||
message(STATUS "DirectX widgets have been disabled (DirectX not found)")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(MW_BUILD_STATIC)
|
if(MW_BUILD_STATIC)
|
||||||
message(STATUS "Building Milsko as a static library")
|
message(STATUS "Building Milsko as a static library")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue