Commit graph

19 commits

Author SHA1 Message Date
Bradley M. Kuhn
72fa58b7fb Ledger's Python API is known to work best against Python 2.7, then Python 2.6
Indeed, at the moment, it doesn't work against Python 3.x at all, so
ideally, we'd like to tell CMake that no Python versions except 2.7 and
2.6 are acceptable.  However, at least as of CMake 2.8.8, there appears to
be no way to instruct CMake to never consider other versions of Python.

In other words, Python_ADDITIONAL_VERSIONS is prepended to the list of
possible Python versions considered, rather than replacing it wholly.

Theoretically, we could try to diddle withe the internal CMake variables
_PYTHON_FIND_OTHER_VERSIONS or _Python_VERSIONS somehow, but that seems
kludgey and dangerous.  This patch is probably "enough for now" to at
least make sure that if the user has both Python 2.x and Python 3.x
installed, some version of 2.x that is known to work will be preferred.
2012-09-06 16:12:31 -04:00
John Wiegley
14ab4f7775 Updated to Boost 1.50 2012-07-30 23:24:04 -05:00
John Wiegley
39ce225004 Added a link_directories statement 2012-07-30 23:20:55 -05:00
John Wiegley
c2cc47bc98 Reduce Boost dependency to 1.46 2012-05-30 21:44:36 -05:00
Erik Hetzner
9dc812fb7e Remove keyword OPTIONAL_COMPONENTS, not present in cmake 2.8.7 2012-05-26 08:39:11 -07:00
John Wiegley
2512ad3051 Reduce minimum CMake version to 2.8.5 2012-05-25 04:14:27 -05:00
John Wiegley
8d9aeaaf19 Don't even look for Gettext, for now 2012-05-25 01:24:50 -05:00
John Wiegley
09f5f7e826 Don't explicitly disable multithreaded Boost 2012-05-23 05:29:28 -05:00
John Wiegley
de7322b48c Handle NO_ASSERTS differently in CMakeLists.txt 2012-05-20 16:07:43 -05:00
John Wiegley
54649d1b7a Make profiling builds work with Clang 2012-05-20 16:06:32 -05:00
John Wiegley
45c2b3307e CMake doesn't enable DEBUG by default, acprep does 2012-05-20 15:31:29 -05:00
John Wiegley
1b1c7cd4ac A few more CMake-related fixes 2012-05-20 15:23:52 -05:00
John Wiegley
1b83c684fb More resiliency fixes 2012-05-20 14:15:48 -05:00
John Wiegley
c2dde97994 Make library detection more resilient 2012-05-20 14:09:17 -05:00
John Wiegley
8faae66638 Define some more missing CMake variables 2012-05-20 05:30:55 -05:00
John Wiegley
9c9534d562 Disable the check for C++11 for now 2012-05-20 05:29:54 -05:00
John Wiegley
a3e84aa155 A few more CMake-related fixes 2012-05-20 05:16:16 -05:00
John Wiegley
50370b8c35 Disable gettext for now 2012-05-20 05:07:34 -05:00
John Wiegley
4681e58d7f Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00