Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected including of GNUInstallDirs #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lRespublica
Copy link

Fixed GNUInstallDirs connection. It must be done after the project is announced. Otherwise, the system architecture is determined incorrectly.

CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:253 (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:17 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

After which CMAKE_INSTALL_LIBDIR is defined as /usr/lib instead of /usr/lib64

This patch fixes a bug with determining the system architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant