mirror of
https://github.com/pabloaul/lsfg-vk-flake.git
synced 2025-08-27 10:56:29 -03:00
default.nix: enable Release build type
This commit is contained in:
parent
b7fee253f7
commit
41df9e1b38
1 changed files with 2 additions and 1 deletions
|
@ -48,13 +48,14 @@ in llvmPackages.stdenv.mkDerivation {
|
|||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=Debug"
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
# clang-tools needs to come before clang so it can locate Vulkan headers correctly
|
||||
llvmPackages.clang-tools
|
||||
llvmPackages.clang
|
||||
llvmPackages.libllvm # needed for release builds
|
||||
cmake
|
||||
meson
|
||||
ninja
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue