On Sun, Jun 12, 2022 at 1:03 PM Michal Schorm mschorm@redhat.com wrote:
Perhaps related, I see the reference to my earlier user list thread. But unless I missed something it doesn't seem to be an exact match unless we've modified upstream CMakes behavior.
What's even stranger is I added debug messages showing the value of the variables used in the logic of the message and it clearly shows CMAKE_SYSTEM_NAME is defined:
CMake Warning (dev) at /usr/share/cmake/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:15 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMAKE_SYSTEM_NAME: Linux CMAKE_SIZEOF_VOID_P:
WTF?!?!?
Thanks, Richard