You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current CMakeLists.txt supports ARCH_INDEPENDENT in write_basic_package_version_file, which is great. However, the default configuration would install CMake files under CMAKE_INSTALL_LIBDIR/cmake/utfcpp/ (i.e.. /usr/lib/*/cmake/utfcpp/, which may be an architecture-dependent location as stated on https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html . This breaks the nice ARCH_INDEPENDENT feature.
Current
CMakeLists.txt
supportsARCH_INDEPENDENT
inwrite_basic_package_version_file
, which is great. However, the default configuration would install CMake files underCMAKE_INSTALL_LIBDIR/cmake/utfcpp/
(i.e../usr/lib/*/cmake/utfcpp/
, which may be an architecture-dependent location as stated on https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html . This breaks the niceARCH_INDEPENDENT
feature.I am proposing a patch to install CMake files to
CMAKE_INSTALL_DATADIR/cmake/utfcpp/
(i.e./usr/share/cmake/utfcpp/
) whenARCH_INDEPENDENT
feature is detected and enabled. This is also supported as described in https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure . Please find the patch below:The text was updated successfully, but these errors were encountered: