mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
build: Fixed a wrong if statement.
This commit is contained in:
@@ -31,9 +31,9 @@ endfunction()
|
|||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
|
if(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
|
||||||
compiler_dumpversion(GNUCC_VERSION)
|
compiler_dumpversion(GNUCC_VERSION)
|
||||||
if (GNUCC_VERSION EQUAL 34)
|
if (NOT GNUCC_VERSION EQUAL 34)
|
||||||
check_c_compiler_flag("-fvisibility=hidden" WITH_VISIBILITY_HIDDEN)
|
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)
|
endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
|
||||||
|
|
||||||
# HEADER FILES
|
# HEADER FILES
|
||||||
|
Reference in New Issue
Block a user