From: Hiromichi Watari Date: December 19 2011 7:13pm Subject: Can't link custom library List-Archive: http://lists.mysql.com/internals/38403 Message-Id: <1324322006.44849.YahooMailNeo@web121502.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I can't link my custom library with cmake (mysql 5.5), has anyone seen this ? I ended up adding the library file into link.txt after cmake creates it as a workaround. Thanks, Hiromichi ----------------------------------------------------------------------- CXXFLAGS="-L/my_lib_dir -lfoo" export CXXFLAGS cmake . // modify link.txt as a workaround make