Commit 3f9372d3 authored by Yueh-Shun Li's avatar Yueh-Shun Li Committed by Gaetan Lepage
Browse files

xrootd: fix the cmake flags influenced by enableTestRunner

parent 93d37412
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -121,16 +121,16 @@ stdenv.mkDerivation (finalAttrs: {
  cmakeFlags =
    [
      "-DXRootD_VERSION_STRING=${finalAttrs.version}"
    ]
    ++ lib.optionals enableTestRunner [
      "-DFORCE_ENABLED=TRUE"
      "-DENABLE_DAVIX=TRUE"
      "-DENABLE_FUSE=${if (!stdenv.hostPlatform.isDarwin) then "TRUE" else "FALSE"}" # not supported
      "-DENABLE_MACAROONS=OFF"
      "-DENABLE_PYTHON=FALSE" # built separately
      "-DENABLE_SCITOKENS=TRUE"
      "-DENABLE_TESTS=TRUE"
      "-DENABLE_VOMS=${if stdenv.hostPlatform.isLinux then "TRUE" else "FALSE"}"
    ]
    ++ lib.optionals enableTestRunner [
      "-DENABLE_TESTS=TRUE"
    ];

  postFixup = lib.optionalString (externalEtc != null) ''