From 9a563e9df4bd9b2f5cec2a382d0366227d86e6d2 Mon Sep 17 00:00:00 2001 From: Simon Wells Date: Sun, 7 Oct 2018 09:51:37 +1300 Subject: [PATCH] Remove 2.8.4 cmake workaround As the minimal cmake is 2.8.8 remove a workaround that was required for 2.8.4 and fixed in 2.8.5 --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c692f40bea..f516a65770 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,13 +50,6 @@ endif() # this can be removed if/when cmake 3.1 is made the minimum required version set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON) -# workaround for omission in cmake 2.8.4's GNU.cmake, fixed in 2.8.5 -if(CMAKE_COMPILER_IS_GNUCC) - if(NOT DARWIN) - set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem ") - endif() -endif() - # console output is slow as hell on Windows and as a result status messages of the "install" target slow down # the whole build process considerably (especially since we also copy a lot of files from the devlibs) # TODO: Is this worth to be configurable / also applicable to other platforms? -- GitLab