mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 04:16:12 +01:00
Code review
This commit is contained in:
@@ -297,7 +297,7 @@ if(MSVC)
|
|||||||
AND (NOT WINDOWS_STORE)
|
AND (NOT WINDOWS_STORE)
|
||||||
AND (NOT ENABLE_OPENEXR_SUPPORT)
|
AND (NOT ENABLE_OPENEXR_SUPPORT)
|
||||||
AND (NOT (CMAKE_CXX_COMPILER_ID MATCHES "Clang")))
|
AND (NOT (CMAKE_CXX_COMPILER_ID MATCHES "Clang")))
|
||||||
message(STATUS "Using Spectre-mitigated libraries")
|
message(STATUS "Building Spectre-mitigated libraries")
|
||||||
foreach(t IN LISTS TOOL_EXES ITEMS ${PROJECT_NAME})
|
foreach(t IN LISTS TOOL_EXES ITEMS ${PROJECT_NAME})
|
||||||
target_compile_options(${t} PRIVATE "/Qspectre")
|
target_compile_options(${t} PRIVATE "/Qspectre")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Reference in New Issue
Block a user