Mercurial > louis > mq > lightsd
changeset 448:58257bd1b0e8
Fix Python 3 introspection
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Sun, 01 May 2016 15:58:22 -0700 |
parents | 4a125c65508f |
children | df4535ef4bf0 |
files | add_make_release.patch |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/add_make_release.patch Sat Apr 30 19:51:23 2016 -0700 +++ b/add_make_release.patch Sun May 01 15:58:22 2016 -0700 @@ -27,15 +27,14 @@ ENABLE_TESTING() ### Platform checks ############################################################ -@@ -26,6 +22,16 @@ +@@ -26,6 +22,15 @@ FIND_PACKAGE(Endian REQUIRED) FIND_PACKAGE(Sphinx) +IF (CMAKE_BUILD_TYPE MATCHES RELEASE) + FIND_PACKAGE(Gzip) + FIND_PACKAGE(Hg) -+ SET(Python_ADDITIONAL_VERSIONS 3) # actually >= 3.3 (os.replace) -+ FIND_PACKAGE(PythonInterp) ++ FIND_PACKAGE(PythonInterp 3.3) # >= 3.3 for os.replace + FIND_PACKAGE(BsdTar) + FIND_PACKAGE(Virtualenv) + FIND_PACKAGE(Xz) @@ -44,7 +43,7 @@ INCLUDE(CheckFunctionExists) INCLUDE(CheckVariableExists) INCLUDE(TestBigEndian) -@@ -92,9 +98,7 @@ +@@ -92,9 +97,7 @@ # 2.8.11 is the first version with TARGET_INCLUDE_DIRECTORIES: IF (CMAKE_VERSION VERSION_GREATER 2.8.10) @@ -55,7 +54,7 @@ ADD_SUBDIRECTORY(tests) ELSE () MESSAGE( -@@ -105,7 +109,14 @@ +@@ -105,7 +108,14 @@ ENDIF () IF (SPHINX_FOUND)