Blame view

3rdparty/opencv-4.5.4/cmake/checks/cxx11.cpp 209 Bytes
f4334277   Hu Chunming   提交3rdparty
1
2
3
4
5
6
7
8
9
10
11
12
13
  #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600)
  // OK
  #else
  #error "C++11 is not supported"
  #endif
  
  static int test() { return 0; }
  
  int main()
  {
      auto res = test();
      return res;
  }