Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kig/files: kig-4.10.4-boostpython.patch
Date: Wed, 05 Jun 2013 20:20:07
Message-Id: 20130605202002.E28A62171E@flycatcher.gentoo.org
1 dilfridge 13/06/05 20:20:02
2
3 Added: kig-4.10.4-boostpython.patch
4 Log:
5 Update patch, bug 472348
6
7 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
8
9 Revision Changes Path
10 1.1 kde-base/kig/files/kig-4.10.4-boostpython.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kig/files/kig-4.10.4-boostpython.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kig/files/kig-4.10.4-boostpython.patch?rev=1.1&content-type=text/plain
14
15 Index: kig-4.10.4-boostpython.patch
16 ===================================================================
17 diff --git a/CMakeLists.txt b/CMakeLists.txt
18 index e27b470..2db327f 100644
19 --- a/CMakeLists.txt
20 +++ b/CMakeLists.txt
21 @@ -1,9 +1,6 @@
22 project(kig)
23
24 -#
25 -# taken from kdeedu/CMakeList.txt
26 -# from here...
27 -set(CMAKE_MODULE_PATH ${kig_SOURCE_DIR}/cmake )
28 +option(WITH_SCRIPTING "Enable python scripting support" ON)
29
30 # search packages used by KDE
31 find_package(KDE4 4.3.80 REQUIRED)
32 @@ -29,7 +26,16 @@ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DQT_USE_FAST_CONCATENATI
33 include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
34
35 # ...to here
36 -find_package(BoostPython)
37 +
38 +if(WITH_SCRIPTING)
39 + set(PythonLibs_FIND_VERSION "2.2")
40 + find_package(PythonLibs)
41 + find_package(Boost COMPONENTS python)
42 +endif(WITH_SCRIPTING)
43 +
44 +if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
45 + set(KIG_ENABLE_PYTHON_SCRIPTING 1)
46 +endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
47
48 kde4_no_enable_final(kig)
49
50 @@ -44,16 +50,16 @@ add_subdirectory( macros )
51 #add_subdirectory( kfile )
52 add_subdirectory( data )
53 add_subdirectory( pykig )
54 -if(BOOST_PYTHON_FOUND)
55 +if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
56 add_subdirectory( scripting )
57 -endif(BOOST_PYTHON_FOUND)
58 +endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
59
60 macro_display_feature_log()
61
62 include_directories( ${CMAKE_SOURCE_DIR}/modes )
63 -if(BOOST_PYTHON_FOUND)
64 - include_directories(${BOOST_PYTHON_INCLUDES})
65 -endif(BOOST_PYTHON_FOUND)
66 +if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
67 + include_directories(${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
68 +endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
69
70 # kigpart
71
72 @@ -182,7 +188,7 @@ kde4_add_ui_files(kigpart_PART_SRCS
73 misc/kigcoordinateprecisiondialog.ui
74 )
75
76 -if(BOOST_PYTHON_FOUND)
77 +if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
78 set(kigpart_PART_SRCS ${kigpart_PART_SRCS}
79 modes/popup/scriptactionsprovider.cc
80 scripting/newscriptwizard.cc
81 @@ -193,15 +199,15 @@ if(BOOST_PYTHON_FOUND)
82 )
83
84 set_source_files_properties(scripting/python_scripter.cc PROPERTIES COMPILE_FLAGS "${KDE4_ENABLE_EXCEPTIONS}")
85 -endif(BOOST_PYTHON_FOUND)
86 +endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
87
88
89 kde4_add_plugin(kigpart ${kigpart_PART_SRCS})
90
91 target_link_libraries(kigpart ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} )
92 -if(BOOST_PYTHON_FOUND)
93 - target_link_libraries(kigpart ${BOOST_PYTHON_LIBS} ${KDE4_KTEXTEDITOR_LIBS})
94 -endif(BOOST_PYTHON_FOUND)
95 +if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
96 + target_link_libraries(kigpart ${Boost_PYTHON_LIBRARY} ${PYTHON_LIBRARIES} ${KDE4_KTEXTEDITOR_LIBS})
97 +endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
98
99 install(TARGETS kigpart DESTINATION ${PLUGIN_INSTALL_DIR})
100
101 diff --git a/KigConfigureChecks.cmake b/KigConfigureChecks.cmake
102 index fed38b3..a53ea73 100644
103 --- a/KigConfigureChecks.cmake
104 +++ b/KigConfigureChecks.cmake
105 @@ -9,8 +9,6 @@ check_function_exists(trunc HAVE_TRUNC)
106 set(CMAKE_REQUIRED_INCLUDES)
107 set(CMAKE_REQUIRED_LIBRARIES)
108
109 -macro_optional_find_package(BoostPython)
110 -
111 # at the end, output the configuration
112 configure_file(
113 ${CMAKE_CURRENT_SOURCE_DIR}/config-kig.h.cmake
114 @@ -18,7 +16,7 @@ configure_file(
115 )
116
117 macro_log_feature(
118 - BOOST_PYTHON_FOUND
119 + Boost_PYTHON_FOUND
120 "Boost.Python"
121 "Kig can optionally use Boost.Python for Python scripting"
122 "http://www.boost.org/"
123 diff --git a/cmake/COPYING-CMAKE-SCRIPTS b/cmake/COPYING-CMAKE-SCRIPTS
124 deleted file mode 100644
125 index 4b41776..0000000
126 --- a/cmake/COPYING-CMAKE-SCRIPTS
127 +++ /dev/null
128 @@ -1,22 +0,0 @@
129 -Redistribution and use in source and binary forms, with or without
130 -modification, are permitted provided that the following conditions
131 -are met:
132 -
133 -1. Redistributions of source code must retain the copyright
134 - notice, this list of conditions and the following disclaimer.
135 -2. Redistributions in binary form must reproduce the copyright
136 - notice, this list of conditions and the following disclaimer in the
137 - documentation and/or other materials provided with the distribution.
138 -3. The name of the author may not be used to endorse or promote products
139 - derived from this software without specific prior written permission.
140 -
141 -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
142 -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
143 -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
144 -IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
145 -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
146 -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
147 -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
148 -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
149 -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
150 -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
151 diff --git a/cmake/FindBoostPython.cmake b/cmake/FindBoostPython.cmake
152 deleted file mode 100644
153 index 50339fd..0000000
154 --- a/cmake/FindBoostPython.cmake
155 +++ /dev/null
156 @@ -1,163 +0,0 @@
157 -# - Try to find the a valid boost+python combination
158 -# Once done this will define
159 -#
160 -# BOOST_PYTHON_FOUND - system has a valid boost+python combination
161 -# BOOST_PYTHON_INCLUDES - the include directory for boost+python
162 -# BOOST_PYTHON_LIBS - the needed libs for boost+python
163 -
164 -# Copyright (c) 2006, Pino Toscano, <toscano.pino@×××××××.it>
165 -#
166 -# Redistribution and use is allowed according to the terms of the BSD license.
167 -# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
168 -
169 -if(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
170 - # Already in cache, be silent
171 - set(BOOST_PYTHON_FIND_QUIETLY TRUE)
172 -endif(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
173 -
174 -# some needed includes
175 -include(CheckCXXSourceCompiles)
176 -include(CheckIncludeFileCXX)
177 -include(CheckLibraryExists)
178 -
179 -find_package(PkgConfig)
180 -
181 -# reset vars
182 -set(BOOST_PYTHON_INCLUDES)
183 -set(BOOST_PYTHON_LIBS)
184 -
185 -# handy arrays
186 -set(PYTHON_VERSIONS "python;python2.7;python2.6;python2.5;python2.4;python2.3;python2.2")
187 -set(PYTHON_INCLUDE_DIRS "/usr/include/$pyver;/usr/local/include/$pyver;/usr/$pyver/include;/usr/local/$pyver/include;$prefix/include/$pyver;$prefix/$pyver/include")
188 -set(PYTHON_LIBRARY_DIRS "/usr/lib${LIB_SUFFIX};/usr/local/lib${LIB_SUFFIX};/usr/lib${LIB_SUFFIX}/$pyver/config")
189 -set(PYTHON_LIBS "boost_python-gcc-mt;boost_python-mt;boost_python-gcc-mt-1_33;boost_python-gcc-mt-1_33_1;boost_python;boost_python-gcc-mt-1_32;boost_python")
190 -
191 -if(WIN32)
192 - set(PythonLibs_FIND_VERSION 2.7.0)
193 - find_package(PythonLibs)
194 - find_package(Boost COMPONENTS python QUIET)
195 - if(PYTHONLIBS_FOUND AND Boost_FOUND)
196 - set(BOOST_PYTHON_INCLUDES ${PYTHON_INCLUDE_DIRS} ${Boost_INCLUDE_DIR})
197 - set(BOOST_PYTHON_LIBS ${Boost_PYTHON_LIBRARY} ${PYTHON_LIBRARIES})
198 - endif(PYTHONLIBS_FOUND AND Boost_FOUND)
199 -else(WIN32)
200 -# 1st: check for boost/shared_ptr.hpp
201 -check_include_file_cxx(boost/shared_ptr.hpp HAVE_BOOST_SHARED_PTR_HPP)
202 -
203 -if(HAVE_BOOST_SHARED_PTR_HPP)
204 -
205 - # try pkg-config next
206 - set(_found FALSE)
207 - foreach(_pyver ${PYTHON_VERSIONS})
208 - if(NOT _found)
209 - pkg_check_modules(_python QUIET ${_pyver})
210 - if (_python_FOUND)
211 - find_package(Boost 1.33 COMPONENTS python)
212 - if (Boost_PYTHON_FOUND)
213 - set(_found TRUE)
214 - set(BOOST_PYTHON_INCLUDES "${_python_INCLUDE_DIRS};${Boost_INCLUDE_DIRS}")
215 - set(BOOST_PYTHON_LIBS "${_python_LDFLAGS} ${Boost_PYTHON_LIBRARY}")
216 - endif(Boost_PYTHON_FOUND)
217 - endif(_python_FOUND)
218 - endif(NOT _found)
219 - endforeach(_pyver ${PYTHON_VERSIONS})
220 -
221 -endif(HAVE_BOOST_SHARED_PTR_HPP)
222 -
223 -if(HAVE_BOOST_SHARED_PTR_HPP AND NOT _found)
224 - # save the old flags and setting the new ones
225 - set(_save_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
226 - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
227 -
228 - foreach(_pyver ${PYTHON_VERSIONS})
229 - if(NOT _found)
230 - foreach(_pydir ${PYTHON_INCLUDE_DIRS})
231 -
232 - if(NOT _found)
233 - string(REPLACE "$pyver" "${_pyver}" _pydir ${_pydir})
234 - string(REPLACE "$prefix" "${CMAKE_INSTALL_PREFIX}" _pydir ${_pydir})
235 -
236 - if(EXISTS ${_pydir})
237 - if(EXISTS ${_pydir}/Python.h)
238 -
239 - foreach(_pylibdir ${PYTHON_LIBRARY_DIRS})
240 -
241 - if(NOT _found)
242 - string(REPLACE "$pyver" ${_pyver} _pylibdir ${_pylibdir})
243 -
244 - foreach(_pblib ${PYTHON_LIBS})
245 -
246 - if(NOT _found)
247 -
248 - set(CMAKE_REQUIRED_FLAGS "-L${_pylibdir}")
249 - set(CMAKE_REQUIRED_INCLUDES ${_pydir})
250 - set(CMAKE_REQUIRED_LIBRARIES ${_pblib} ${_pyver})
251 -
252 - check_cxx_source_compiles("
253 -#include <boost/python.hpp>
254 -const char* greet() { return \"Hello world!\"; }
255 -BOOST_PYTHON_MODULE(hello) { boost::python::def(\"greet\", greet); }
256 -
257 -int main() { return 0; }
258 -
259 -// some vars, in case of the compilation fail...
260 -// python include dir: ${_pydir}
261 -// python lib dir: ${_pylibdir}
262 -// boost python lib: ${_pblib}
263 -
264 -" boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile )
265 -
266 - set(CMAKE_REQUIRED_FLAGS)
267 - set(CMAKE_REQUIRED_INCLUDES)
268 - set(CMAKE_REQUIRED_LIBRARIES)
269 -
270 - if(boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile)
271 -
272 - set(_found TRUE)
273 -
274 - set(BOOST_PYTHON_INCLUDES ${_pydir})
275 - set(BOOST_PYTHON_LIBS "-l${_pyver} -L${_pylibdir} -l${_pblib}")
276 -
277 - endif(boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile)
278 -
279 - endif(NOT _found)
280 -
281 - endforeach(_pblib ${PYTHON_LIBS})
282 -
283 - endif(NOT _found)
284 -
285 - endforeach(_pylibdir ${PYTHON_LIBRARY_DIRS})
286 -
287 - endif(EXISTS ${_pydir}/Python.h)
288 - endif(EXISTS ${_pydir})
289 -
290 - endif(NOT _found)
291 -
292 - endforeach(_pydir ${PYTHON_INCLUDE_DIRS})
293 -
294 - endif(NOT _found)
295 -
296 - endforeach(_pyver ${PYTHON_VERSIONS})
297 -
298 - set(CMAKE_CXX_FLAGS ${_save_CMAKE_CXX_FLAGS})
299 -
300 -endif(HAVE_BOOST_SHARED_PTR_HPP AND NOT _found)
301 -endif(WIN32)
302 -
303 -if(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
304 - set(BOOST_PYTHON_FOUND TRUE)
305 -endif(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
306 -
307 -if(BOOST_PYTHON_FOUND)
308 - if(NOT BoostPython_FIND_QUIETLY)
309 - message(STATUS "Found Boost+Python: libs ${BOOST_PYTHON_LIBS}, headers ${BOOST_PYTHON_INCLUDES}")
310 - endif(NOT BoostPython_FIND_QUIETLY)
311 - set(KIG_ENABLE_PYTHON_SCRIPTING 1)
312 -else (BOOST_PYTHON_FOUND)
313 - if (BoostPython_FIND_REQUIRED)
314 - message(FATAL_ERROR "Could NOT find Boost+Python")
315 - endif(BoostPython_FIND_REQUIRED)
316 - set(KIG_ENABLE_PYTHON_SCRIPTING 0)
317 -endif(BOOST_PYTHON_FOUND)
318 -
319 -mark_as_advanced(BOOST_PYTHON_INCLUDES BOOST_PYTHON_LIBS)
320 diff --git a/cmake/modules/FindBoostPython.cmake b/cmake/modules/FindBoostPython.cmake
321 deleted file mode 100644
322 index 72aae54..0000000
323 --- a/cmake/modules/FindBoostPython.cmake
324 +++ /dev/null
325 @@ -1,134 +0,0 @@
326 -# - Try to find the a valid boost+python combination
327 -# Once done this will define
328 -#
329 -# BOOST_PYTHON_FOUND - system has a valid boost+python combination
330 -# BOOST_PYTHON_INCLUDES - the include directory for boost+python
331 -# BOOST_PYTHON_LIBS - the needed libs for boost+python
332 -
333 -# Copyright (c) 2006, Pino Toscano, <toscano.pino@×××××××.it>
334 -#
335 -# Redistribution and use is allowed according to the terms of the BSD license.
336 -# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
337 -
338 -if(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
339 - # Already in cache, be silent
340 - set(BOOST_PYTHON_FIND_QUIETLY TRUE)
341 -endif(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
342 -
343 -# some needed includes
344 -include(CheckCXXSourceCompiles)
345 -include(CheckIncludeFileCXX)
346 -include(CheckLibraryExists)
347 -
348 -# reset vars
349 -set(BOOST_PYTHON_INCLUDES)
350 -set(BOOST_PYTHON_LIBS)
351 -
352 -# handy arrays
353 -set(PYTHON_VERSIONS "python;python2.7;python2.6;python2.5;python2.4;python2.3;python2.2")
354 -set(PYTHON_INCLUDE_DIRS "/usr/include/$pyver;/usr/local/include/$pyver;/usr/$pyver/include;/usr/local/$pyver/include;$prefix/include/$pyver;$prefix/$pyver/include")
355 -set(PYTHON_LIBRARY_DIRS "/usr/lib${LIB_SUFFIX};/usr/local/lib${LIB_SUFFIX};/usr/lib${LIB_SUFFIX}/$pyver/config")
356 -set(PYTHON_LIBS "boost_python-gcc-mt;boost_python-mt;boost_python-gcc-mt-1_33;boost_python-gcc-mt-1_33_1;boost_python;boost_python-gcc-mt-1_32;boost_python")
357 -
358 -# 1st: check for boost/shared_ptr.hpp
359 -check_include_file_cxx(boost/shared_ptr.hpp HAVE_BOOST_SHARED_PTR_HPP)
360 -
361 -if(HAVE_BOOST_SHARED_PTR_HPP)
362 -
363 - set(_found FALSE)
364 -
365 - # save the old flags and setting the new ones
366 - set(_save_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
367 - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
368 -
369 - foreach(_pyver ${PYTHON_VERSIONS})
370 - if(NOT _found)
371 - foreach(_pydir ${PYTHON_INCLUDE_DIRS})
372 -
373 - if(NOT _found)
374 - string(REPLACE "$pyver" "${_pyver}" _pydir ${_pydir})
375 - string(REPLACE "$prefix" "${CMAKE_INSTALL_PREFIX}" _pydir ${_pydir})
376 -
377 - if(EXISTS ${_pydir})
378 - if(EXISTS ${_pydir}/Python.h)
379 -
380 - foreach(_pylibdir ${PYTHON_LIBRARY_DIRS})
381 -
382 - if(NOT _found)
383 - string(REPLACE "$pyver" ${_pyver} _pylibdir ${_pylibdir})
384 -
385 - foreach(_pblib ${PYTHON_LIBS})
386 -
387 - if(NOT _found)
388 -
389 - set(CMAKE_REQUIRED_FLAGS "-L${_pylibdir}")
390 - set(CMAKE_REQUIRED_INCLUDES ${_pydir})
391 - set(CMAKE_REQUIRED_LIBRARIES ${_pblib} ${_pyver})
392 -
393 - check_cxx_source_compiles("
394 -#include <boost/python.hpp>
395 -const char* greet() { return \"Hello world!\"; }
396 -BOOST_PYTHON_MODULE(hello) { boost::python::def(\"greet\", greet); }
397 -
398 -int main() { return 0; }
399 -
400 -// some vars, in case of the compilation fail...
401 -// python include dir: ${_pydir}
402 -// python lib dir: ${_pylibdir}
403 -// boost python lib: ${_pblib}
404 -
405 -" boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile )
406 -
407 - set(CMAKE_REQUIRED_FLAGS)
408 - set(CMAKE_REQUIRED_INCLUDES)
409 - set(CMAKE_REQUIRED_LIBRARIES)
410 -
411 - if(boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile)
412 -
413 - set(_found TRUE)
414 -
415 - set(BOOST_PYTHON_INCLUDES ${_pydir})
416 - set(BOOST_PYTHON_LIBS "-l${_pyver} -L${_pylibdir} -l${_pblib}")
417 -
418 - endif(boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile)
419 -
420 - endif(NOT _found)
421 -
422 - endforeach(_pblib ${PYTHON_LIBS})
423 -
424 - endif(NOT _found)
425 -
426 - endforeach(_pylibdir ${PYTHON_LIBRARY_DIRS})
427 -
428 - endif(EXISTS ${_pydir}/Python.h)
429 - endif(EXISTS ${_pydir})
430 -
431 - endif(NOT _found)
432 -
433 - endforeach(_pydir ${PYTHON_INCLUDE_DIRS})
434 -
435 - endif(NOT _found)
436 -
437 - endforeach(_pyver ${PYTHON_VERSIONS})
438 -
439 - set(CMAKE_CXX_FLAGS ${_save_CMAKE_CXX_FLAGS})
440 -
441 -endif(HAVE_BOOST_SHARED_PTR_HPP)
442 -
443 -if(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
444 - set(BOOST_PYTHON_FOUND TRUE)
445 -endif(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
446 -
447 -if(BOOST_PYTHON_FOUND)
448 - if(NOT BoostPython_FIND_QUIETLY)
449 - message(STATUS "Found Boost+Python: ${BOOST_PYTHON_LIBS}")
450 - endif(NOT BoostPython_FIND_QUIETLY)
451 - set(KIG_ENABLE_PYTHON_SCRIPTING 1)
452 -else (BOOST_PYTHON_FOUND)
453 - if (BoostPython_FIND_REQUIRED)
454 - message(FATAL_ERROR "Could NOT find Boost+Python")
455 - endif(BoostPython_FIND_REQUIRED)
456 - set(KIG_ENABLE_PYTHON_SCRIPTING 0)
457 -endif(BOOST_PYTHON_FOUND)
458 -
459 -mark_as_advanced(BOOST_PYTHON_INCLUDES BOOST_PYTHON_LIBS)