diff --git a/src/tint/CMakeLists.txt b/src/tint/CMakeLists.txt index 467d668b5a..446c0d8b29 100644 --- a/src/tint/CMakeLists.txt +++ b/src/tint/CMakeLists.txt @@ -197,7 +197,9 @@ function(tint_default_compile_options TARGET) ) endif() endif() + endif() + if (WIN32) target_compile_definitions(${TARGET} INTERFACE "NOMINMAX") endif()