mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
Refine cutter.pro rules
This commit is contained in:
parent
422a43f344
commit
e52d002fea
@ -48,7 +48,7 @@ unix:exists(/usr/local/include/libr) {
|
|||||||
|
|
||||||
# Libraries
|
# Libraries
|
||||||
include(lib_radare2.pri)
|
include(lib_radare2.pri)
|
||||||
win32 {
|
win32:CUTTER_ENABLE_JUPYTER {
|
||||||
pythonpath = $$quote($$system("where python"))
|
pythonpath = $$quote($$system("where python"))
|
||||||
pythonpath = $$replace(pythonpath, ".exe ", ".exe;")
|
pythonpath = $$replace(pythonpath, ".exe ", ".exe;")
|
||||||
pythonpath = $$section(pythonpath, ";", 0, 0)
|
pythonpath = $$section(pythonpath, ";", 0, 0)
|
||||||
@ -60,7 +60,7 @@ win32 {
|
|||||||
message($$INCLUDEPATH)
|
message($$INCLUDEPATH)
|
||||||
}
|
}
|
||||||
|
|
||||||
unix|macx {
|
unix:CUTTER_ENABLE_JUPYTER|macx:CUTTER_ENABLE_JUPYTER {
|
||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
!packagesExist(python3) {
|
!packagesExist(python3) {
|
||||||
error("ERROR: Python 3 could not be found. Make sure it is available to pkg-config.")
|
error("ERROR: Python 3 could not be found. Make sure it is available to pkg-config.")
|
||||||
|
Loading…
Reference in New Issue
Block a user