build: Fixed a wrong if statement.

(cherry picked from commit 461dde231c)
This commit is contained in:
Andreas Schneider
2010-09-05 13:11:19 +02:00
parent 6db13f776f
commit c05666245c

View File

@@ -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