Avoid -gdwarf-4 on Windows with ClangCL
@@ -137,7 +137,8 @@ macro(astcenc_set_properties NAME)
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-cast-function-type>
# Force DWARF4 for Valgrind profiling
- $<$<CXX_COMPILER_ID:Clang>:-gdwarf-4>
+ $<$<AND:$<PLATFORM_ID:Linux,Darwin>,$<CXX_COMPILER_ID:Clang>>:-gdwarf-4>
+
$<$<CXX_COMPILER_ID:Clang>:-Wdocumentation>)
target_link_options(${NAME}
