Closed topazus closed 1 year ago
The CMake files may be more apprpriate to be installed into arch-dependent location, which normally is "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" and the location is adopted by many C++ libraries.
"${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"
Ref: https://gitlab.kitware.com/cmake/cmake/-/issues/18453 https://github.com/jbeder/yaml-cpp/pull/1055 https://github.com/google/googletest/blob/main/googletest/CMakeLists.txt#L99-L109
The CMake files may be more apprpriate to be installed into arch-dependent location, which normally is
"${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"
and the location is adopted by many C++ libraries.Ref: https://gitlab.kitware.com/cmake/cmake/-/issues/18453 https://github.com/jbeder/yaml-cpp/pull/1055 https://github.com/google/googletest/blob/main/googletest/CMakeLists.txt#L99-L109