You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building libzmq under Windows 10 with MinGW-64 is failing on the call of windres due to the usage of wrong command line parameters/syntax.
It seems that the check in CMakeList.txt line 1186 fails because of upper/lower case issue
Original code from CMakeList.txt
if(CMAKE_SYSTEM_PROCESSOR MATCHES "i386"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "i486"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "i586"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "i686"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "x86"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "amd64")
On my machine the CMAKE_SYSTEM_PROCESSOR variable has a value of "AMD64". After adding this uppercase value to the CMakeFile check on line 1186 the build works.
Issue description
Building libzmq under Windows 10 with MinGW-64 is failing on the call of windres due to the usage of wrong command line parameters/syntax.
It seems that the check in CMakeList.txt line 1186 fails because of upper/lower case issue
Original code from CMakeList.txt
if(CMAKE_SYSTEM_PROCESSOR MATCHES "i386"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "i486"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "i586"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "i686"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "x86"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "amd64")
On my machine the CMAKE_SYSTEM_PROCESSOR variable has a value of "AMD64". After adding this uppercase value to the CMakeFile check on line 1186 the build works.
Environment
Minimal test code / Steps to reproduce the issue
What's the actual result? (include assertion message & call stack if applicable)
Fail on windres call
What's the expected result?
Successfull build
The text was updated successfully, but these errors were encountered: