Commit a48fd588 authored by Orivej Desh's avatar Orivej Desh
Browse files

musescore: do not build unit tests without doCheck

This speeds up compilation time.
parent 18ecb38a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -83,6 +83,8 @@ in stdenv'.mkDerivation (finalAttrs: {
    # Don't bundle qt qml files, relevant really only for darwin, but we set
    # this for all platforms anyway.
    "-DMUE_COMPILE_INSTALL_QTQML_FILES=OFF"
    # Don't build unit tests unless we are going to run them.
    (lib.cmakeBool "MUSE_ENABLE_UNIT_TESTS" finalAttrs.finalPackage.doCheck)
  ];

  qtWrapperArgs = [