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
901c0d80
Commit
901c0d80
authored
Nov 24, 2012
by
Andrey Kamaev
Committed by
OpenCV Buildbot
Nov 24, 2012
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #178 from cuda-geek:fix-2504
parents
f45b5b13
fceb6238
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
OpenCVDetectCUDA.cmake
cmake/OpenCVDetectCUDA.cmake
+7
-2
No files found.
cmake/OpenCVDetectCUDA.cmake
View file @
901c0d80
...
@@ -3,8 +3,13 @@ if(${CMAKE_VERSION} VERSION_LESS "2.8.3")
...
@@ -3,8 +3,13 @@ if(${CMAKE_VERSION} VERSION_LESS "2.8.3")
return
()
return
()
endif
()
endif
()
if
(
NOT MSVC AND NOT CMAKE_COMPILER_IS_GNUCXX OR MINGW
)
if
(
WIN32 AND NOT MSVC
)
message
(
STATUS
"CUDA compilation was disabled (due to unsuppoted host compiler)."
)
message
(
STATUS
"CUDA compilation is disabled (due to only Visual Studio compiler suppoted on your platform)."
)
return
()
endif
()
if
(
CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL
"Clang"
)
message
(
STATUS
"CUDA compilation is disabled (due to Clang unsuppoted on your platform)."
)
return
()
return
()
endif
()
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