Skip to content

Commit

Permalink
qt6.qtshadertools: add mingw support
Browse files Browse the repository at this point in the history
Part of a larger effort to add mingw support for qtmultimedia.
  • Loading branch information
seanybaggins committed Mar 15, 2024
1 parent bda93c2 commit 930ce12
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/libraries/qt-6/modules/qtshadertools.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{ qtModule
, qtbase
, stdenv
, lib
, pkgsBuildBuild
}:

qtModule {
pname = "qtshadertools";
propagatedBuildInputs = [ qtbase ];
cmakeFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
"-DQt6ShaderToolsTools_DIR=${pkgsBuildBuild.qt6.qtshadertools}/lib/cmake/Qt6ShaderToolsTools"
];
}

0 comments on commit 930ce12

Please sign in to comment.