Skip to content

Fixing installation for operating systems with lib and lib64 directories#319

Open
adrianomarto wants to merge 1 commit intoeclipse-cyclonedds:masterfrom
adrianomarto:master
Open

Fixing installation for operating systems with lib and lib64 directories#319
adrianomarto wants to merge 1 commit intoeclipse-cyclonedds:masterfrom
adrianomarto:master

Conversation

@adrianomarto
Copy link
Contributor

CycloneDDS library (libddsc.so) may end up in the lib or lib64 directory depending on the operating system. That has caused me problems with Fedora. This pull request intends to fix that.

That is because CMake overrides the libraries directory definition “lib” with “lib64” depending on the operating system and building system:

  • We are on Linux system but NOT cross-compiling
  • We are NOT on Debian
  • we are NOT building for Wonda
  • We are on a 64 bits system

https://gitlab.kitware.com/cmake/cmake/-/blob/v3.26.4/Modules/GNUInstallDirs.cmake?ref_type=tags#L221

Signed-off-by: Adriano Marto Reis <adrianomarto@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant