diff options
| author | manuel <manuel@mausz.at> | 2017-06-04 16:57:49 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2017-06-04 16:57:49 +0200 |
| commit | f44ecaa4f27e7538ddcad66d40e543bffa2d2d86 (patch) | |
| tree | d8de60fc7e17edeb6f0921726c038ee54b281445 /project/cmake/modules/FindCXX11.cmake | |
| parent | ae08c8b7221bc965ac40d70e53fc8fcddb050c46 (diff) | |
| download | kodi-pvr-build-f44ecaa4f27e7538ddcad66d40e543bffa2d2d86.tar.gz kodi-pvr-build-f44ecaa4f27e7538ddcad66d40e543bffa2d2d86.tar.bz2 kodi-pvr-build-f44ecaa4f27e7538ddcad66d40e543bffa2d2d86.zip | |
sync with upstream
Diffstat (limited to 'project/cmake/modules/FindCXX11.cmake')
| -rw-r--r-- | project/cmake/modules/FindCXX11.cmake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/project/cmake/modules/FindCXX11.cmake b/project/cmake/modules/FindCXX11.cmake deleted file mode 100644 index c0b9a52..0000000 --- a/project/cmake/modules/FindCXX11.cmake +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | include(TestCXXAcceptsFlag) | ||
| 2 | |||
| 3 | # try to use compiler flag -std=c++11 | ||
| 4 | check_cxx_accepts_flag("-std=c++11" CXX_FLAG_CXX11) | ||
| 5 | if(CXX_FLAG_CXX11) | ||
| 6 | add_options (CXX ALL_BUILDS "-std=c++11") | ||
| 7 | set(CXX_STD11_FLAGS "-std=c++11") | ||
| 8 | else() | ||
| 9 | # try to use compiler flag -std=c++0x for older compilers | ||
| 10 | check_cxx_accepts_flag("-std=c++0x" CXX_FLAG_CXX0X) | ||
| 11 | if(CXX_FLAG_CXX0X) | ||
| 12 | add_options (CXX ALL_BUILDS "-std=c++0x") | ||
| 13 | set(CXX_STD11_FLAGS "-std=c++0x") | ||
| 14 | endif() | ||
| 15 | endif() | ||
| 16 | |||
| 17 | include(FindPackageHandleStandardArgs) | ||
| 18 | find_package_handle_standard_args(CXX11 DEFAULT_MSG CXX_STD11_FLAGS) | ||
