wt: Allow optional library harfbuzz to be overriden with null
This commit is contained in:
parent
e2383999f0
commit
d2282cc4a7
1 changed files with 2 additions and 1 deletions
|
@ -28,13 +28,14 @@ let
|
|||
|
||||
cmakeFlags = [
|
||||
"-DWT_CPP_11_MODE=-std=c++11"
|
||||
"-DHARFBUZZ_INCLUDE_DIR=${harfbuzz.dev}/include"
|
||||
"--no-warn-unused-cli"
|
||||
]
|
||||
++ stdenv.lib.optionals (graphicsmagick != null) [
|
||||
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
|
||||
"-DGM_PREFIX=${graphicsmagick}"
|
||||
]
|
||||
++ stdenv.lib.optional (harfbuzz != null)
|
||||
"-DHARFBUZZ_INCLUDE_DIR=${harfbuzz.dev}/include"
|
||||
++ stdenv.lib.optional (libmysqlclient != null)
|
||||
"-DMYSQL_PREFIX=${libmysqlclient}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue