We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e851a41 commit 3fd2384Copy full SHA for 3fd2384
cmake/OpenCVPCHSupport.cmake
@@ -211,7 +211,7 @@ MACRO(ADD_PRECOMPILED_HEADER_TO_TARGET _targetName _input _pch_output_to_use )
211
212
GET_TARGET_PROPERTY(_sources ${_targetName} SOURCES)
213
FOREACH(src ${_sources})
214
- if(NOT "${src}" MATCHES "\\.mm$")
+ if(NOT "${src}" MATCHES "\\.mm$" AND NOT "${src}" MATCHES "\\.rc$")
215
get_source_file_property(_flags "${src}" COMPILE_FLAGS)
216
get_source_file_property(_flags2 "${src}" COMPILE_DEFINITIONS)
217
if(NOT _flags AND NOT _flags2)
modules/core/src/utils/filesystem.cpp
@@ -25,6 +25,7 @@
25
26
#ifdef _WIN32
27
#define WIN32_LEAN_AND_MEAN
28
+#undef NOMINMAX
29
#define NOMINMAX
30
#include <windows.h>
31
#include <direct.h>
0 commit comments