Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-132

CMake "SUFFIX_INSTALL_DIR" parameter ignored/overwritten in CMake scripts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 3.0.0, 2.2.0
    • Component/s: None
    • Labels:

      Description

      CMake "SUFFIX_INSTALL_DIR" parameter used to change the "mariadb" suffix path in include/ and lib/ installed subdirectories is ignored for mysql compatibility symlinks and overwritten in cmake/install.cmake with the INSTALL_LAYOUT feature.

      How to test?
      cmake . -DCMAKE_INSTALL_PREFIX=/tmp -DSUFFIX_INSTALL_DIR=mysql && make install
      ls /tmp/

      {include,lib}

      /mysql <- KO
      ls /tmp/include,lib}/mariadb <- OK

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            trsystran Thomas Riccardi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: