Simplified CUDA Architecture Handling in CMake#27085
Simplified CUDA Architecture Handling in CMake#27085tony19053000 wants to merge 1 commit intoopencv:4.xfrom
Conversation
|
@cudawarped What do you think? |
This removes the fix added in #25941. Additionaly if we wanted to remove that fix there would be no reason to have the section after setting the language because it doesn't do anything @tony19053000? As per the original issue (#25920) and PR (#25941) when the minimum version of CMake is 3.18 The reason for this is that if Behaviour with #25941
|
|
I think the current code essentially just simplifies to this, or does it not? Also as a related note. I just tried to build the latest opencv 4.x main (cloned 3 days ago), and from a completely empty build directory/cache, I've initialised CMake with |
That results in the following error for me
Try configuring with
I just tried and its working for me have you set CUDA a first class language ( |
Related: #27076