On Mon, 2022-06-13 at 17:42 -0500, Richard Shaw wrote:
See:
Whether it's part of the same problem or not, the "-S ." seems to be causing issues for projects that "add_subdirectory()" other projects. Not everything is propagating into the sub-project.
Hi ,
please tell me what packages you need fix the cmake builds and I will try to fix it .
Now I see the problem regardless of whether I use the "-S ." or "." at the end method... The strange part is with GNUInstallDirs. It should only emit that message if neither CMAKE_SYSTEM_NAME nor CMAKE_SIZEOF_VOIDP is defined, but clearly one of them is:
CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:241 (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:
I'm working with it in a COPR currently so here's a link to the SRPM:
Thanks,
Richard