• Vladislav Vaintroub's avatar
    MDEV-8533 Debug embedded server does not build on Windows · 1694d813
    Vladislav Vaintroub authored
    pre/CMakeLists.txt defines CMAKE_DEBUG_POSTFIX which causes a different
    library name on Windows debug build (pcred.lib rather than pre.lib)
    However MERGE_LIBRARIES macro that is used to create static embedded
    library (out of other static libraries), can  not handle per-configuration
    library names. Thus the build fails with "pre.lib not found"
    
    Fix is to remove unnecessary CMAKE_DEBUG_POSTFIX
    1694d813
CMakeLists.txt 18 KB