summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-5/modules/qtlocation.nix
blob: a9897648d8e6fd036a7a958bd81b87dc3154dcb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ lib, stdenv, qtModule, qtbase, qtmultimedia }:

qtModule {
  pname = "qtlocation";
  propagatedBuildInputs = [ qtbase qtmultimedia ];
  outputs = [ "bin" "out" "dev" ];
  qmakeFlags = lib.optionals stdenv.isDarwin [
     # boost uses std::auto_ptr which has been disabled in clang with libcxx
     # This flag re-enables this feature
     # https://libcxx.llvm.org/docs/UsingLibcxx.html#c-17-specific-configuration-macros
     "QMAKE_CXXFLAGS+=-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR"
  ];
}