cmake: disable building with ncurses if building without ncurses
This commit is contained in:
parent
69a6848b57
commit
1aef9fc4af
@ -55,7 +55,9 @@ stdenv.mkDerivation rec {
|
|||||||
"--system-libs"
|
"--system-libs"
|
||||||
]
|
]
|
||||||
++ optional (jsoncpp == null) "--no-system-jsoncpp"
|
++ optional (jsoncpp == null) "--no-system-jsoncpp"
|
||||||
++ optional useQt4 "--qt-gui";
|
++ optional useQt4 "--qt-gui"
|
||||||
|
++ ["--"]
|
||||||
|
++ optional (!useNcurses) "-DBUILD_CursesDialog=OFF";
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user