ycm-cmake-modules
ycm-cmake-modules copied to clipboard
Unable to determine default `CMAKE_INSTALL_LIBDIR` on Ubuntu 2022.04
Just got the following warning:
-- YCM Version: 0.14.0 (0.14.0)
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/GNUInstallDirs.cmake:239 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):
CMakeLists.txt:29 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
Upstream issue: https://gitlab.kitware.com/cmake/cmake/-/issues/23461 .
Maybe a typo in the link above @traversaro ? It points to this same issue.
Yes, thanks. I fixed it.