• FeRD (Frank Dana)'s avatar
    Problem: CMake config doesn't support multiarch · 31569c78
    FeRD (Frank Dana) authored
    Solution: Install CMake config in arch-dependent LIBDIR/cmake
    
    Using "share/cmake/${PROJECT_NAME}" as DESTINATION for installing
    ZeroMQConfig.cmake et al works for arch-independent configs, but
    is wrong for multiarch. The configs for each version of the
    library should be stored below the arch-dependent LIBDIR, using
    the GNUInstallDirs ${CMAKE_INSTALL_LIBDIR} variable.
    Signed-off-by: 's avatarFeRD (Frank Dana) <ferdnyc@gmail.com>
    31569c78
CMakeLists.txt 53.1 KB