Skip to content

Commit dafbdb1

Browse files
committed
Enable system SDL2_ttf for Nix flake
1 parent fb71c16 commit dafbdb1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

flake.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ SET(SUPERTUX_VERSION_STRING "v${version}")
9393
SET(SUPERTUX_VERSION_BUILD "${builtins.elemAt ver 4}")
9494
EOF
9595
'';
96-
cmakeFlags = [ "-DINSTALL_SUBDIR_BIN=bin" ];
96+
cmakeFlags = [
97+
"-DINSTALL_SUBDIR_BIN=bin"
98+
"-DUSE_SYSTEM_SDL2_TTF=ON"
99+
];
97100
enableParallelBuilding = true;
98101
nativeBuildInputs = [
99102
pkgs.cmake

0 commit comments

Comments
 (0)