On Sun, Jun 12, 2022 at 1:03 PM Michal Schorm <mschorm@xxxxxxxxxx> wrote:
See:
https://bugzilla.redhat.com/show_bug.cgi?id=2079833
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:
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
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure