Unverified Commit 0e1a9a52 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #3015 from aytekinar/3012-gcc-fix

Fix gcc build problem
parents 0b997109 6fa93623
......@@ -298,7 +298,9 @@ endif ()
if (LIBZMQ_WERROR)
zmq_check_cxx_flag_prepend ("-Werror")
zmq_check_cxx_flag_prepend ("-errwarn=%all")
if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
zmq_check_cxx_flag_prepend ("-errwarn=%all")
endif()
endif ()
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment