Jason Foster
389c1dbd92
Have CMake check for libraries first in any additional locations and second in the standard locations.
...
This allows (e.g.) using the Homebrew-installed OpenSSL instead of the system version.
2015-08-12 20:26:02 -04:00
Adam
16e0b72d2d
Update FindGettext.cmake for new Windows stuff and fix language.cpp
...
compile
2014-05-31 18:30:50 -04:00
Adam
f20bac996d
Fix Windows build and update library names to the newer ones.
...
Also fix crash on Windows when unloading a module because it threw an
exception.
2014-05-30 18:14:55 -04:00
Adam
f0f43cf426
Fix build on late versions of cmake 2.4
2013-07-26 12:57:36 -04:00
Adam
16c124d34e
Rewrote modules/CMakeLists.txt and do not build the 'extras' modules, if users want them built they should copy or symlink them out of extras
2013-04-15 01:00:45 -05:00
Adam
9a45626379
Hack around calculate_depends not able to find libintl.h, since we deal with that later
2013-04-12 15:45:52 -05:00
Adam
ccecfdf445
Made the missing dependencies message from cmake more descriptive for modules
2013-04-06 19:03:07 -05:00
Adam
91ad9d22ca
Fix Windows build
2013-03-01 00:57:24 -05:00
Adam
7d50818ee1
Fix some OpenBSD build issues, and bugs #1485 #1486 #1487
2013-02-19 00:48:21 -05:00
Adam
c1077faa28
Optimize much of the database code and serialize code.
2012-12-13 06:12:56 -05:00
Naram Qashat
9dec093676
Modified the Config scripts to ask the user explicitly for additional include and library directories.
2012-12-07 03:02:15 -05:00
Naram Qashat
4dfc0f952f
Fix cmake generation due to this if not being updated.
2012-10-27 12:09:07 -04:00
Adam
1dacc648a0
Made the warnings given by cmake for not having
...
the dependencies for modules look less scary as
they confuse dumb people currently
2012-10-09 04:13:04 -04:00
Naram Qashat
1b20ec8747
Forgot to delete a line in the last commit.
2012-09-22 04:18:41 -04:00
Naram Qashat
d30e53ee2c
OK, so the FIND sub-command of string() in CMake was only added with 2.8.5, change this to use the REGEX sub-commands instead. Also while I'm at it, make -pthread only get added when not on Mac OS X, it's auto-included there.
2012-09-22 03:45:51 -04:00
Naram Qashat
aa57ad6082
Fix issues with CMake trying to add /System/Library/Frameworks/Kernel.framework/Headers/sys to the include paths.
2012-09-22 02:10:49 -04:00
Naram Qashat
c80e7844b7
Attempt to fix issue with modules having their link libraries in the wrong order.
2011-12-03 19:17:41 -05:00
Adam
d0513d6506
A few minor fixups
2011-10-22 16:11:26 -04:00
Adam
f4a0bdd54d
Added our own eventfd test for openvz machines which have eventfd but can not be used
2011-10-22 12:45:55 -04:00
Adam
a55b3742cb
Removed the LIBINTL include hack
2011-02-05 18:35:20 -05:00
Adam
477ff30cec
Fixed calculate_depends again, now it works
2010-11-01 18:43:46 -04:00
Adam
3edc6d70b9
Fixed building anopesmtp on Windows, fixed some cmake problems with calculate_depends, and fixed building without gettext
2010-11-01 16:07:18 -04:00
Adam
98bdd9749a
Fixed build on cmake2.6
2010-10-30 20:12:52 -04:00
Adam
fb9f41b3e5
Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.
...
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext.
Fixed m_mysql and m_ssl to work under Windows, made the Windows Config
program remember the last used options, and fixed Windows release builds.
2010-10-30 19:41:13 -04:00
Adam
a22f8d3b2d
Moved some files and diretories around, made cmake skip files it knows it can't compile because of missing dependices.
2010-07-15 22:55:02 -04:00