Commit Graph

64 Commits (e0850947bfd2a4fb721cb4b77ec356c40f25b96e)

Author SHA1 Message Date
Nicolas Hake 94b726c9ad cmake: Get FindPNG to find the correct version of libpng
FindPNG.cmake parses libpng's version from png.h. As such, there's no
reason not to use that information when looking for the library itself.
2013-10-08 21:23:08 +02:00
Nicolas Hake 59ee0ed090 cmake: Get FindFreetype to look for versioned libraries
Since FindFreetype.cmake already extracts the version of freetype
from its header files, I have no idea why they're not automatically
using that info to look for the proper library name in lieu of
hardcoding a single version.
2013-10-08 21:23:07 +02:00
Nicolas Hake 459fce0758 Replace std::auto_ptr with std::unique_ptr
std::auto_ptr has awkward copy semantics and is deprecated in C++11.
2013-03-26 15:43:01 +01:00
Julius Michaelis 2a68766856 Fix error condition in cmake's git_get_changeset_id 2012-12-08 00:24:00 +01:00
Nicolas Hake 2914aeff26 FindUpnp: Look for threadutil lib too
In case we're linking statically, libthreadutil needs to be linked
in when libupnp gets linked, or else undefined references will ensue.
2012-11-20 22:24:00 +01:00
Nicolas Hake 94225e8de5 Prepare build for Git repository
This includes fetching the build revision from git instead of hg
and adding a file to store the revision hash in archives.
2012-11-20 22:23:59 +01:00
Julius Michaelis 4f4ad5c521 Add a little warning when GCC Precompiled Headers go wrong 2012-05-02 00:25:45 +02:00
Julius Michaelis 97d34d8c46 Oversight in PCH fix 951aac232911
Shouldn't make any difference
2012-04-01 14:23:29 +02:00
Julius Michaelis 15696e75ae Fix the GCC precompiled headers
It's still hacky as hell, but changing CMAKE_BUILD_TYPE or only rebuilding c4script without c4group_pch shouldn't break anymore
2012-03-30 19:47:21 +02:00
Nicolas Hake 6979657962 cmake: Add required libixml to UPnP libraries
Earlier versions of ld(1) would attempt to implicitly satisfy link requirements
by checking the dependencies of linked-in libraries. Current versions don't do
this anymore, so we need to explicitly spell out all dependent libraries on the
linker command line.
2012-01-21 14:05:44 +01:00
Armin Burgmeier 23d54ea2c9 Implement UPnP for Linux using libupnp 2012-01-21 02:04:14 +01:00
Nicolas Hake f9f01bef9a cmake: Search for FMOD headers and add to include path 2011-10-28 23:49:11 +02:00
Nicolas Hake cc672bbd00 win32: Automatically check for DbgHelp availability 2011-10-03 13:09:51 +02:00
Nicolas Hake 14f81d7eef Move cmake modules to separate directory 2011-10-03 13:03:22 +02:00