diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/UseCXX11.cmake | 13 | ||||
-rw-r--r-- | cmake/UseCXX14.cmake | 13 |
2 files changed, 0 insertions, 26 deletions
diff --git a/cmake/UseCXX11.cmake b/cmake/UseCXX11.cmake deleted file mode 100644 index f8afaa6e..00000000 --- a/cmake/UseCXX11.cmake +++ /dev/null @@ -1,13 +0,0 @@ -if(__USECXX11_CMAKE__) - return() -endif() -set(__USECXX11_CMAKE__ TRUE) - -if(APPLE) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++11") -elseif(UNIX) - # assume GCC, add C++0x/C++11 stuff - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") -elseif(MINGW) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") -endif() diff --git a/cmake/UseCXX14.cmake b/cmake/UseCXX14.cmake deleted file mode 100644 index 95c3dd2d..00000000 --- a/cmake/UseCXX14.cmake +++ /dev/null @@ -1,13 +0,0 @@ -if(__USECXX14_CMAKE__) - return() -endif() -set(__USECXX14_CMAKE__ TRUE) - -if(APPLE) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++1y") -elseif(UNIX) - # assume GCC, add C++0x/C++11 stuff - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") -elseif(MINGW) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++14") -endif() |