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
af9c5587
Commit
af9c5587
authored
Aug 26, 2015
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5246 from mshabunin:ccache-fix
parents
0be2d418
69db797e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
OpenCVDetectCXXCompiler.cmake
cmake/OpenCVDetectCXXCompiler.cmake
+4
-1
No files found.
cmake/OpenCVDetectCXXCompiler.cmake
View file @
af9c5587
...
...
@@ -13,8 +13,11 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
set
(
CMAKE_COMPILER_IS_GNUCC 1
)
set
(
CMAKE_COMPILER_IS_CLANGCC 1
)
endif
()
if
(
"
${
CMAKE_CXX_COMPILER
}
;
${
CMAKE_C_COMPILER
}
"
MATCHES
"ccache"
)
set
(
CMAKE_COMPILER_IS_CCACHE 1
)
endif
()
if
((
CMAKE_COMPILER_IS_CLANGCXX OR CMAKE_COMPILER_IS_CLANGCC
)
AND NOT CMAKE_GENERATOR MATCHES
"Xcode"
)
if
((
CMAKE_COMPILER_IS_CLANGCXX OR CMAKE_COMPILER_IS_CLANGCC
OR CMAKE_COMPILER_IS_CCACHE
)
AND NOT CMAKE_GENERATOR MATCHES
"Xcode"
)
set
(
ENABLE_PRECOMPILED_HEADERS OFF CACHE BOOL
""
FORCE
)
endif
()
...
...
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