projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73d5d6
)
Added -Wno-unused-local-typedefs for GCC7
author
khizmax
<libcds.dev@gmail.com>
Wed, 3 May 2017 18:18:58 +0000
(21:18 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Wed, 3 May 2017 18:18:58 +0000
(21:18 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index d0645cb16678ab20c8213a3c69f8e33a52e2af65..d22b482ac0a2fcda11a5d111a0b3c3b9398bff76 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-116,7
+116,8
@@
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcx16")
set(LIB_SUFFIX "64")
endif()
- if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "7.0.0")
+
+ if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "8.0.0")
# gcc 4.8 - 6: disable noise -Wunused-local-typedefs
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-local-typedefs")
endif()