18 lines
647 B
Diff
18 lines
647 B
Diff
|
--- nfs-ganesha-4-rc3/src/CMakeLists.txt.orig 2021-11-08 18:24:19.024041776 -0500
|
||
|
+++ nfs-ganesha-4-rc3/src/CMakeLists.txt 2021-11-09 13:54:02.553226811 -0500
|
||
|
@@ -558,11 +558,11 @@
|
||
|
|
||
|
gopt_test(USE_ADMIN_TOOLS)
|
||
|
if (USE_ADMIN_TOOLS)
|
||
|
- find_package (Python COMPONENTS Interpreter Development)
|
||
|
- if (NOT Python_Interpreter_FOUND)
|
||
|
+ find_package(PythonInterp ${USE_ADMIN_TOOLS_REQUIRED})
|
||
|
+ if (NOT PYTHONINTERP_FOUND)
|
||
|
message(WARNING "Cannot find python. Disablin admin tools")
|
||
|
set(USE_ADMIN_TOOLS OFF)
|
||
|
- endif (NOT Python_Interpreter_FOUND)
|
||
|
+ endif (NOT PYTHONINTERP_FOUND)
|
||
|
endif (USE_ADMIN_TOOLS)
|
||
|
|
||
|
gopt_test(USE_GUI_ADMIN_TOOLS)
|