mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 13:48:59 +08:00
aa45329eb6
* [directxmesh, directxtex, directxtk, uvatlas] update ports for December 2022 releases * [directxtk12] fixed spectre feature * Update baseline * Upstream fixes for WSL * Update baseline Co-authored-by: walbourn <chuckw_walbourn@yahoo.com>
14 lines
578 B
Diff
14 lines
578 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index e20dfdb..fd3279c 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -230,6 +230,7 @@ if(MSVC)
|
|
|
|
if((MSVC_VERSION GREATER_EQUAL 1928)
|
|
AND (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
+ AND NOT TARGET OpenEXR::OpenEXR # as dependency of package directxtex
|
|
AND ((NOT (CMAKE_CXX_COMPILER_ID MATCHES "Clang")) OR (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13.0)))
|
|
foreach(t IN LISTS TOOL_EXES ITEMS ${PROJECT_NAME})
|
|
target_compile_options(${t} PRIVATE "$<$<NOT:$<CONFIG:DEBUG>>:/guard:ehcont>")
|
|
|