Skip to content

Commit

Permalink
Merge pull request #3015 from aytekinar/3012-gcc-fix
Browse files Browse the repository at this point in the history
Fix gcc build problem
  • Loading branch information
bluca committed Mar 21, 2018
2 parents 0b99710 + 6fa9362 commit 0e1a9a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0e1a9a5

Please sign in to comment.