aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
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:11:19 +0200
commit461dde231c73fbe7daecc703a79fb1317bdd1b53 (patch)
treeb0c09701ee1a795a50f2e5f3d7e25b1110febfae /ConfigureChecks.cmake
parent0785c522f076cbb8c53d93028c92aa2ea0490a9a (diff)
downloadlibssh-461dde231c73fbe7daecc703a79fb1317bdd1b53.tar.gz
libssh-461dde231c73fbe7daecc703a79fb1317bdd1b53.tar.xz
libssh-461dde231c73fbe7daecc703a79fb1317bdd1b53.zip
build: Fixed a wrong if statement.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 95592db..d6f67df 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -31,9 +31,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