From 35171061f924f06824c333736ab4788115ac7139 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 3 Nov 2012 19:25:01 -0400 Subject: [PATCH] CTestCustom: Suppress LNK4089 warning about PSAPI Add a warning suppression regex to match: LINK : warning LNK4089: all references to 'PSAPI.DLL' discarded by /OPT:REF --- CTestCustom.cmake.in | 1 + 1 file changed, 1 insertion(+) diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index 982919198..34377ac0d 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -31,6 +31,7 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION "remark: .*LOOP WAS VECTORIZED" "warning .980: wrong number of actual arguments to intrinsic function .std::basic_" "LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF" + "LINK : warning LNK4089: all references to.*PSAPI.DLL.*discarded by /OPT:REF" "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF" "Warning: library was too large for page size.*" "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"