For anyone facing similar issue, to use static build of mathGL in your application, EXPORT can be disabled from your CMake target as target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE mgl_EXPORTS=0)
Were you able to solve it. I'm too facing similar issue, bin contains libmgl-wx.dll and libmgl.dll, even though static flag is set
Were you able to solve it. I'm too facing similar issue, bin contains libmgl-wx.dll and libmgl.dll, even though static flag is set