Skip to content

Remove strange setting of LIB_INSTALL_DIR on Windows

Added in 5cef1578, but I could not make any sense of what was tried to do here. And would think things just worked still by chance as LIB_INSTALL_DIR was still the first value set to itself.

See also the content of INSTALL_TARGETS_DEFAULT_ARGS as by KDEInstallDirs since 5.36: https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/v5.36.0/kde-modules/KDEInstallDirs.cmake#L654

set(KDE_INSTALL_TARGETS_DEFAULT_ARGS  RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
                                      LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
                                      ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT Devel
                                      INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
)
[...]
if(NOT KDE_INSTALL_DIRS_NO_DEPRECATED)
    set(INSTALL_TARGETS_DEFAULT_ARGS ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
endif()
Edited by Friedrich W. H. Kossebau

Merge request reports