[prev in list] [next in list] [prev in thread] [next in thread]
List: amarok-devel
Subject: FindMySQLAmarok.cmake and kdelibs FindMySQL.cmake
From: Michael Jansen <info () michael-jansen ! biz>
Date: 2011-06-05 20:45:50
Message-ID: 3280412.2esObNrnPo () gambit ! local ! michael-jansen ! biz
[Download RAW message or body]
Hi
I couldn't get amarok to compile because it found mysql and on compilation
couldn't link to the mysql embedded lib. I initially thought mysql_config
would return the wrong path to the lib and started to patch
FindMySQLAmarok.cmake to verify the results from mysql_config.
To make my life easier i just copied over FindMySQL.cmake from kdelibs. That
one immediately complained that mysql embedded was not installed. And exactly
that, even if mysql_config gave the answers needed to compile stuff the lib
was not installed. I installed the missing part and voila amarok compiled
fine.
I would recommend using the kdelibs cmake file for amarok too because it is
superior. And it would make maintenance easier. The FindMySQLAmarok file is
not installed therefore removing it and just doing find_package(MySQL) would
do the trick.
Mike
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic