[CONC-132] CMake "SUFFIX_INSTALL_DIR" parameter ignored/overwritten in CMake scripts Created: 2015-06-15  Updated: 2020-11-23  Resolved: 2015-06-27

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 2.1
Fix Version/s: 3.0.0, 2.2.0

Type: Bug Priority: Major
Reporter: Thomas Riccardi Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: installer

Attachments: File mariadb-connector-c-2.1.0-src-mysql-suffix.patch    

 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


Generated at Thu Feb 08 03:03:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.