diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-06-04 16:07:47 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-06-04 16:07:47 +0300 |
commit | 1366b01790631ba1134a4dfd03d939b4b40360b8 (patch) | |
tree | 28131edb04a563021bd1a3d445ec3be7c4ae6602 /cmake | |
parent | Include mtxclient in the build (diff) | |
download | nheko-1366b01790631ba1134a4dfd03d939b4b40360b8.tar.xz |
Install missing dependencies in travis-ci/appveyor
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CompilerFlags.cmake | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/cmake/CompilerFlags.cmake b/cmake/CompilerFlags.cmake deleted file mode 100644 index f5860a99..00000000 --- a/cmake/CompilerFlags.cmake +++ /dev/null @@ -1,26 +0,0 @@ -if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \ - -Wall \ - -Wextra \ - -Werror \ - -pipe \ - -Wno-unused-function \ - -pedantic \ - -Wunreachable-code") - - if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") - execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION) - - if (GCC_VERSION VERSION_GREATER 4.9) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color=always" ) - endif() - endif() - - if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color=always" ) - endif() -endif() - -if(NOT APPLE AND NOT MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") -endif() |