Vladislav Vaintroub
dc798a489f
Add libm to the lib of required libraries when doing system checks
2009-12-07 12:25:46 +01:00
Vladislav Vaintroub
db1b3d2d7d
do not use -z defs on Solaris, it complains about libc.so implicit dependency
2009-12-07 01:50:54 +00:00
Vladislav Vaintroub
a1ebd4245e
On Linux, support -Wl,--no-undefined (only client shared library)
...
and --Wl,--as-needed (all shared modules). The later will remove
unused dependencies (also from gcc and C++ runtime)
2009-12-07 02:16:05 +01:00
Vladislav Vaintroub
456395813a
fdatasync is not documented on Snow Leopard and is not in unistd.h
...
CMake finds it as it is expored by system libraries, though attempts to
use it will result bring a warning. Fix by using CHECK_SYMBOL_EXISTS
instead of CHECK_FUNCTION_EXISTS
2009-12-05 16:15:17 +01:00
Vladislav Vaintroub
f458a4c963
merge
2009-11-30 01:49:26 +00:00
Vladislav Vaintroub
a710e76783
Fix universal binaries build on OSX, in case both 32 and 64 bit architectures are used
2009-11-26 00:47:38 +01:00
Vladislav Vaintroub
53cc3b7bf8
merge
2009-11-25 15:20:14 +01:00
Vladislav Vaintroub
fbd542013f
Fixes for cmake2.8
2009-11-16 14:45:06 +01:00
Vladislav Vaintroub
13cd7170cc
WL#5161 : Cross-platform build with CMake
2009-11-09 12:32:48 +01:00