mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-14 08:16:13 +01:00
Added CMakePresets.json
This commit is contained in:
@@ -314,8 +314,12 @@ if(WIN32)
|
||||
endif()
|
||||
|
||||
if(BUILD_DX12 OR WINDOWS_STORE)
|
||||
if(BUILD_DX12)
|
||||
message("INFO: Building with DirectX 12 Runtime support")
|
||||
endif()
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0A00)
|
||||
else()
|
||||
message("INFO: Building with Windows 7 compatibility")
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0601)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user