mirror of https://github.com/opencv/opencv.git
Merge pull request #15353 from alalek:cmake_check_atomic
commit
aa09febf79
4 changed files with 57 additions and 1 deletions
@ -0,0 +1,12 @@ |
||||
#include <atomic> |
||||
|
||||
static int test() |
||||
{ |
||||
std::atomic<int> x; |
||||
return x; |
||||
} |
||||
|
||||
int main() |
||||
{ |
||||
return test(); |
||||
} |
Loading…
Reference in new issue