spirv-cross: change shared build targets
Build shared targets for macOS as well. The reason for this is that, for example, the `sdl3-shadercross` library depends on these shared libraries to be available. Without this change `sdl3-shadercross` can not support darwin targets.
This commit is contained in:
@@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
python3
|
||||
];
|
||||
|
||||
cmakeFlags = lib.optionals stdenv.hostPlatform.isLinux [
|
||||
cmakeFlags = lib.optionals stdenv.hostPlatform.isUnix [
|
||||
(lib.cmakeBool "SPIRV_CROSS_SHARED" true)
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user