mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
rpcs3: use lib.cmakeBool
This commit is contained in:
parent
548a86b335
commit
038eedd6cb
|
@ -62,20 +62,20 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_SYSTEM_ZLIB=ON"
|
||||
"-DUSE_SYSTEM_LIBUSB=ON"
|
||||
"-DUSE_SYSTEM_LIBPNG=ON"
|
||||
"-DUSE_SYSTEM_FFMPEG=ON"
|
||||
"-DUSE_SYSTEM_CURL=ON"
|
||||
"-DUSE_SYSTEM_WOLFSSL=ON"
|
||||
"-DUSE_SYSTEM_FAUDIO=ON"
|
||||
"-DUSE_SYSTEM_PUGIXML=ON"
|
||||
"-DUSE_SYSTEM_FLATBUFFERS=ON"
|
||||
"-DUSE_SYSTEM_SDL=ON"
|
||||
"-DWITH_LLVM=ON"
|
||||
"-DBUILD_LLVM=OFF"
|
||||
"-DUSE_NATIVE_INSTRUCTIONS=OFF"
|
||||
"-DUSE_FAUDIO=${if faudioSupport then "ON" else "OFF"}"
|
||||
(lib.cmakeBool "USE_SYSTEM_ZLIB" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_LIBUSB" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_LIBPNG" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_FFMPEG" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_CURL" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_WOLFSSL" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_FAUDIO" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_PUGIXML" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_FLATBUFFERS" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_SDL" true)
|
||||
(lib.cmakeBool "WITH_LLVM" true)
|
||||
(lib.cmakeBool "BUILD_LLVM" false)
|
||||
(lib.cmakeBool "USE_NATIVE_INSTRUCTIONS" false)
|
||||
(lib.cmakeBool "USE_FAUDIO" faudioSupport)
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config git wrapQtAppsHook ];
|
||||
|
|
Loading…
Reference in a new issue