On Sat, 2 Dec 2017 16:20:39 -0500 "William L. Thomson Jr." <wlt...@o-sinc.com> wrote:
> On Sun, 3 Dec 2017 00:09:24 +0300 > Roman Simakov <roman.sima...@gmail.com> wrote: > > > You sould not strip out TOK_ > > https://github.com/FirebirdSQL/firebird/pull/133 fixed errors you > > see > > Yes but its using internal stuff. Leaving it as is except for the > libtomcrypt and libtommath. Trying to get it to use the system ones vs > building internally. > > Once I can get past that I can comment on build. I assume if I use > internal it will build fine. Really frustrating trying to get cmake to use external libtommath and libtomcrypt. I have no idea what is going wrong. Both have pkg-config files and that is fine. But cmake's find_library fails, and mentions some *cmake file for each library I do not have to make for other things I use cmake for[1][2]. I do not understand what is going wrong there. Though still somewhat new to cmake. I am able to use include(FindPkgConfig) pkg_check_modules(tomcrypt REQUIRED libtomcrypt) pkg_check_modules(tommath REQUIRED libtommath) But then it fails because its using the wrong stupid name... -llibtomcrypt vs -ltomcrypt I tried pkg_check_modules(libtommath REQUIRED tommath) Which also works in finding the library but then again I end up with -llibtomcrypt Super annoying... Usually a fan of cmake, but this is stupidity for no reason. # pkg-config --libslibtommath -L/usr/lib -ltommath # pkg-config --libs libtomcrypt -L/usr/lib -ltomcrypt 1.https://github.com/Obsidian-StudiosInc/ecrire/blob/master/CMakeLists.txt#L16 2.https://github.com/Obsidian-StudiosInc/jem/blob/master/CMakeLists.txt#L90 -- William L. Thomson Jr.
pgpRW9_Vtzowx.pgp
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel