Skip to content
Permalink
Browse files

cmake: Fix build with cmake-3.5.2. (#3117)

  • Loading branch information...
orbea authored and arcum42 committed Sep 22, 2019
1 parent 0967f9b commit d92e4343e33a61013fb2391994890b55e4bb15c5
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/SearchForStuff.cmake
@@ -220,7 +220,7 @@ if(GCC_VERSION VERSION_EQUAL "7.0" OR GCC_VERSION VERSION_EQUAL "7.1")
GCC7_BUG()
endif()

if(GCC_VERSION GREATER_EQUAL "9.0" AND GCC_VERSION LESS "9.2")
if((GCC_VERSION VERSION_EQUAL "9.0" OR GCC_VERSION VERSION_GREATER "9.0") AND GCC_VERSION LESS "9.2")
message(WARNING "
It looks like you are compiling with 9.0.x or 9.1.x. Using these versions is not recommended,
as there is a bug known to cause the compiler to segfault while compiling. See patch

0 comments on commit d92e434

Please sign in to comment.
You can’t perform that action at this time.