mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-17 15:30:12 +02:00
One more CMake tweak
This commit is contained in:
parent
18b17e2248
commit
4ee8ca3ca5
@ -247,6 +247,7 @@ endif()
|
|||||||
if(MSVC)
|
if(MSVC)
|
||||||
foreach(t IN LISTS TOOL_EXES ITEMS ${PROJECT_NAME})
|
foreach(t IN LISTS TOOL_EXES ITEMS ${PROJECT_NAME})
|
||||||
target_compile_options(${t} PRIVATE /fp:fast "$<$<NOT:$<CONFIG:DEBUG>>:/guard:cf>")
|
target_compile_options(${t} PRIVATE /fp:fast "$<$<NOT:$<CONFIG:DEBUG>>:/guard:cf>")
|
||||||
|
target_link_options(${t} PRIVATE /DYNAMICBASE /NXCOMPAT)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
if((${CMAKE_SIZEOF_VOID_P} EQUAL 4) AND (NOT ${DIRECTX_ARCH} MATCHES "arm"))
|
if((${CMAKE_SIZEOF_VOID_P} EQUAL 4) AND (NOT ${DIRECTX_ARCH} MATCHES "arm"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user