sfml: relax Darwin dependencies
This commit is contained in:
parent
3daf90e63e
commit
c9677e38be
1 changed files with 4 additions and 4 deletions
|
@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libX11 freetype libjpeg openal flac libvorbis glew
|
||||
libXrandr libXrender xcbutilimage
|
||||
] ++ stdenv.lib.optional stdenv.isLinux udev
|
||||
buildInputs = [ freetype libjpeg openal flac libvorbis glew ]
|
||||
++ stdenv.lib.optional stdenv.isLinux udev
|
||||
++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXrandr libXrender xcbutilimage ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit Foundation AppKit OpenAL darwin.cf-private ];
|
||||
|
||||
cmakeFlags = [ "-DSFML_INSTALL_PKGCONFIG_FILES=yes"
|
||||
|
|
Loading…
Reference in a new issue