On Mon, Sep 02, 2013 at 05:11:19PM +0400, [email protected] wrote: > So, I tried and even succeeded with rpm'ing cmake for Owl (the version is > 2.8.11.2). However, this didn't help. After I created a mysql.spec file > for cmake-driven build, it worked up to the point of '%install', where > rpmbuild fails trying to copy a file into its final system location instead > of local directory for packing. The Makefile which cmake generates, seems > to ignore the 'DESTDIR=...' argument completely, and here is where I gave > up after a ten or so hopeless attempts to fix something. Well, I could > agree to pack cmake, but I feel absolutely unprepared to waste my time > _learning_ it as to be able to patch MySQL's build configuration files. > This is way too much.
I did not test this with MySQL/MariaDB specifically, but in general: cmake -DCMAKE_INSTALL_PREFIX=/desired/target/dir Alexander
