• Vladislav Vaintroub's avatar
    Windows - Fix CMAKE_INTERPROCEDURAL_OPTIMIZATION build with MSVC · bc64a03c
    Vladislav Vaintroub authored
    If IPO is enabled, MSVC compiles with /GL  which is not
    compatible with cmake's WINDOWS_EXPORT_ALL_SYMBOLS.
    
    Since server.dll can't autoexport symbols from /GL compiled objects,
    IPO must be disabled for dbug, string,mysys, and sql targets (in case we
    build "plugin" DLLs that need server.dll's symbols)
    bc64a03c
main.cc 1.18 KB