[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kolab-commits
Subject:    src/php src/python
From:       Christian Mollekopf <mollekopf () kolabsys ! com>
Date:       2012-06-28 16:07:34
Message-ID: 20120628160734.7A55B1FB906 () app01 ! kolabsys ! com
[Download RAW message or body]

 src/php/CMakeLists.txt    |    2 +-
 src/python/CMakeLists.txt |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5575aa8825f3bdd94efd7c030891d402e3dd0f75
Author: Christian Mollekopf <mollekopf@kolabsys.com>
Date:   Thu Jun 28 18:07:25 2012 +0200

    php version check and don't silently fail if php/python is not found and the bindings are enabled

diff --git a/src/php/CMakeLists.txt b/src/php/CMakeLists.txt
index 57bfe39..fee4b37 100644
--- a/src/php/CMakeLists.txt
+++ b/src/php/CMakeLists.txt
@@ -20,7 +20,7 @@ if (APPLE)
     set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -flat_namespace -undefined suppress" )
 endif()
 
-find_package(PHP4)
+find_package(PHP4 5.3 REQUIRED)
 
 if (PHP4_FOUND)
     include_directories(${PHP4_INCLUDE_PATH})
diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
index 68a012a..8df25a3 100644
--- a/src/python/CMakeLists.txt
+++ b/src/python/CMakeLists.txt
@@ -3,7 +3,7 @@ include_directories(../)
 
 # Compile Python Bindings
 
-find_package(PythonLibs)
+find_package(PythonLibs REQUIRED)
 
 if (NOT PYTHONLIBS_FOUND)
     message("python libs not found, not building python bindings")


_______________________________________________
kolab-commits mailing list
kolab-commits@kolab.org
https://www.intevation.de/mailman/listinfo/kolab-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic