aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-09-05 13:11:19 +0200
committerAndreas Schneider <asn@cynapses.org>2010-09-05 13:13:01 +0200
commitc05666245c1a1b643f1d1dfb39073ef7c5449f59 (patch)
tree648c4064695cc359ac39c277eea0d82f071d1495
parent6db13f776f4a1fd2c9542986abe426c9570f1634 (diff)
downloadlibssh-c05666245c1a1b643f1d1dfb39073ef7c5449f59.tar.gz
libssh-c05666245c1a1b643f1d1dfb39073ef7c5449f59.tar.xz
libssh-c05666245c1a1b643f1d1dfb39073ef7c5449f59.zip
build: Fixed a wrong if statement.
(cherry picked from commit 461dde231c73fbe7daecc703a79fb1317bdd1b53)
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index a2b579a5..3168692a 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -32,9 +32,9 @@ endfunction()
if(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
compiler_dumpversion(GNUCC_VERSION)
- if (GNUCC_VERSION EQUAL 34)
+ if (NOT GNUCC_VERSION EQUAL 34)
check_c_compiler_flag("-fvisibility=hidden" WITH_VISIBILITY_HIDDEN)
- endif (GNUCC_VERSION EQUAL 34)
+ endif (NOT GNUCC_VERSION EQUAL 34)
endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
# HEADER FILES