Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
3fd2384b
Commit
3fd2384b
authored
Feb 22, 2018
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed mingw compilation on Windows
parent
e851a41d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
OpenCVPCHSupport.cmake
cmake/OpenCVPCHSupport.cmake
+1
-1
filesystem.cpp
modules/core/src/utils/filesystem.cpp
+1
-0
No files found.
cmake/OpenCVPCHSupport.cmake
View file @
3fd2384b
...
...
@@ -211,7 +211,7 @@ MACRO(ADD_PRECOMPILED_HEADER_TO_TARGET _targetName _input _pch_output_to_use )
GET_TARGET_PROPERTY
(
_sources
${
_targetName
}
SOURCES
)
FOREACH
(
src
${
_sources
}
)
if
(
NOT
"
${
src
}
"
MATCHES
"
\\
.mm$"
)
if
(
NOT
"
${
src
}
"
MATCHES
"
\\
.mm$"
AND NOT
"
${
src
}
"
MATCHES
"
\\
.rc$"
)
get_source_file_property
(
_flags
"
${
src
}
"
COMPILE_FLAGS
)
get_source_file_property
(
_flags2
"
${
src
}
"
COMPILE_DEFINITIONS
)
if
(
NOT _flags AND NOT _flags2
)
...
...
modules/core/src/utils/filesystem.cpp
View file @
3fd2384b
...
...
@@ -25,6 +25,7 @@
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#undef NOMINMAX
#define NOMINMAX
#include <windows.h>
#include <direct.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment