|
Boost-Commit : |
From: troy_at_[hidden]
Date: 2008-06-08 13:58:16
Author: troy
Date: 2008-06-08 13:58:16 EDT (Sun, 08 Jun 2008)
New Revision: 46250
URL: http://svn.boost.org/trac/boost/changeset/46250
Log:
Move python detection up... need this to run the various
build/test/slave driver scripts.
Text files modified:
branches/CMake/release/libs/python/CMakeLists.txt | 6 ------
branches/CMake/release/tools/build/CMake/BoostConfig.cmake | 9 +++++++++
2 files changed, 9 insertions(+), 6 deletions(-)
Modified: branches/CMake/release/libs/python/CMakeLists.txt
==============================================================================
--- branches/CMake/release/libs/python/CMakeLists.txt (original)
+++ branches/CMake/release/libs/python/CMakeLists.txt 2008-06-08 13:58:16 EDT (Sun, 08 Jun 2008)
@@ -1,9 +1,3 @@
-include(FindPythonInterp)
-message(STATUS " found python executable ${PYTHON_EXECUTABLE}")
-include(FindPythonLibs)
-message(STATUS " found python includes ${PYTHON_INCLUDE_PATH}")
-message(STATUS " found python libs ${PYTHON_LIBRARIES}")
-
if (PYTHON_LIBRARIES)
include_directories(${PYTHON_INCLUDE_PATH})
Modified: branches/CMake/release/tools/build/CMake/BoostConfig.cmake
==============================================================================
--- branches/CMake/release/tools/build/CMake/BoostConfig.cmake (original)
+++ branches/CMake/release/tools/build/CMake/BoostConfig.cmake 2008-06-08 13:58:16 EDT (Sun, 08 Jun 2008)
@@ -27,6 +27,15 @@
##########################################################################
include(CheckCXXSourceCompiles)
+#
+# Python interpreter
+#
+include(FindPythonInterp)
+message(STATUS "found python executable ${PYTHON_EXECUTABLE}")
+include(FindPythonLibs)
+message(STATUS "found python includes ${PYTHON_INCLUDE_PATH}")
+message(STATUS "found python libs ${PYTHON_LIBRARIES}")
+
# Toolset detection.
if (NOT BOOST_TOOLSET)
set(BOOST_TOOLSET "unknown")
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk