Unverified Commit 235b6185 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

musescore: do not build unit tests without doCheck (#342315)

parents 48d56dd8 a48fd588
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -88,6 +88,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 = [