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
fceb6238
Commit
fceb6238
authored
Nov 23, 2012
by
marina.kolpakova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for 2504: WITH_CUDA disabled with OSX in 2.4.3.
parent
8579666b
Hide 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 @
fceb6238
...
@@ -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