rapidjson-unstable: Remove C++11 mode.

This is because the current version of gtest only supports C++14 and above.

+3 -5
+3 -5
pkgs/development/libraries/rapidjson/unstable.nix
··· 6 6 , graphviz 7 7 , gtest 8 8 , valgrind 9 - # One of "11" or "17"; default in source is CXX 11 10 - , cxxStandard ? "11" 11 9 , buildDocs ? true 12 10 , buildTests ? !stdenv.hostPlatform.isStatic && !stdenv.isDarwin 13 11 , buildExamples ? true ··· 49 47 (lib.cmakeBool "RAPIDJSON_BUILD_DOC" buildDocs) 50 48 (lib.cmakeBool "RAPIDJSON_BUILD_TESTS" buildTests) 51 49 (lib.cmakeBool "RAPIDJSON_BUILD_EXAMPLES" buildExamples) 52 - (lib.cmakeBool "RAPIDJSON_BUILD_CXX11" (cxxStandard == "11")) 53 - (lib.cmakeBool "RAPIDJSON_BUILD_CXX17" (cxxStandard == "17")) 50 + # gtest 1.13+ requires C++14 or later. 51 + (lib.cmakeBool "RAPIDJSON_BUILD_CXX11" false) 52 + (lib.cmakeBool "RAPIDJSON_BUILD_CXX17" true) 54 53 ] ++ lib.optionals buildTests [ 55 54 (lib.cmakeFeature "GTEST_INCLUDE_DIR" "${lib.getDev gtest}") 56 55 ]; ··· 77 76 license = licenses.mit; 78 77 platforms = platforms.unix; 79 78 maintainers = with maintainers; [ Madouura ]; 80 - broken = (cxxStandard != "11" && cxxStandard != "17"); 81 79 }; 82 80 })