mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
Merge pull request #24763 from matthewbauer/darwin-glfw-fixes
glfw: fix darwin build
This commit is contained in:
commit
a49481a740
@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, mesa, libXrandr, libXi, libXxf86vm, libXfixes, xlibsWrapper
|
||||
, libXinerama, libXcursor
|
||||
, darwin
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -18,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
cmake mesa libXrandr libXi libXxf86vm libXfixes xlibsWrapper
|
||||
libXinerama libXcursor
|
||||
];
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Cocoa Kernel ]);
|
||||
|
||||
cmakeFlags = "-DBUILD_SHARED_LIBS=ON";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user