From e52d002fea6aa78c100737d99d7e6e84001f22d2 Mon Sep 17 00:00:00 2001 From: xarkes Date: Fri, 2 Mar 2018 21:42:27 +0100 Subject: [PATCH] Refine cutter.pro rules --- src/cutter.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cutter.pro b/src/cutter.pro index 9be7318d..a3f658b8 100644 --- a/src/cutter.pro +++ b/src/cutter.pro @@ -48,7 +48,7 @@ unix:exists(/usr/local/include/libr) { # Libraries include(lib_radare2.pri) -win32 { +win32:CUTTER_ENABLE_JUPYTER { pythonpath = $$quote($$system("where python")) pythonpath = $$replace(pythonpath, ".exe ", ".exe;") pythonpath = $$section(pythonpath, ";", 0, 0) @@ -60,7 +60,7 @@ win32 { message($$INCLUDEPATH) } -unix|macx { +unix:CUTTER_ENABLE_JUPYTER|macx:CUTTER_ENABLE_JUPYTER { CONFIG += link_pkgconfig !packagesExist(python3) { error("ERROR: Python 3 could not be found. Make sure it is available to pkg-config.")