tum-ei-eda / muriscv-nn

muRISCV-NN is a collection of efficient deep learning kernels for embedded platforms and microcontrollers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake warning `Unable to determine default CMAKE_INSTALL_LIBDIR`

fpedd opened this issue · comments

CMake Warning (dev) at /usr/share/cmake-3.21/Modules/GNUInstallDirs.cmake:236 (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):
  build/_deps/unity-src/CMakeLists.txt:64 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

No idea why this is coming up. Both my CMakeLists.txt and Unity's CMakeLists.txt set the language (to C) using the project().

Related links:
https://www.spinics.net/lists/fedora-devel/msg301866.html refers to this logic here https://chromium.googlesource.com/external/github.com/g-truc/glm/+/0.9.5/cmake/GNUInstallDirs.cmake#90