Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 719938
Collapse All | Expand All

(-)a/CMakeLists.txt (-7 / +11 lines)
Lines 848-860 Link Here
848
#<< JPEG, TIFF
848
#<< JPEG, TIFF
849
849
850
#<< PYTHON
850
#<< PYTHON
851
#set(PythonLibs_FIND_VERSION 2)
851
if (HAVE_PYTHON OR NOT DEFINED HAVE_PYTHON)
852
find_package(PythonInterp 2)
852
	#set(PythonLibs_FIND_VERSION 2)
853
find_package(PythonLibs 2 REQUIRED)
853
	find_package(PythonInterp 2)
854
if (PYTHON_LIBRARY)
854
	find_package(PythonLibs 2 REQUIRED)
855
	message("Python Library Found OK")
855
	if (PYTHON_LIBRARY)
856
	set(HAVE_PYTHON ON)
856
		message("Python Library Found OK")
857
	set(COMPILE_PYTHON ON)
857
		set(HAVE_PYTHON ON)
858
		set(COMPILE_PYTHON ON)
859
	endif()
860
else()
861
	set(COMPILE_PYTHON OFF)
858
endif()
862
endif()
859
#>> PYTHON
863
#>> PYTHON
(-)a/scribus/plugins/CMakeLists.txt (-1 / +1 lines)
Lines 9-15 Link Here
9
add_subdirectory(saveastemplateplugin)
9
add_subdirectory(saveastemplateplugin)
10
if(NOT WANT_SCRIPTER2)
10
if(NOT WANT_SCRIPTER2)
11
  #scripter1
11
  #scripter1
12
  if(NOT WIN32)
12
  if(HAVE_PYTHON AND NOT WIN32)
13
    message(STATUS "Building with Scripter 1")
13
    message(STATUS "Building with Scripter 1")
14
    add_subdirectory(scriptplugin)
14
    add_subdirectory(scriptplugin)
15
  endif()
15
  endif()

Return to bug 719938