From 8df77122e5480243350e8c21e07873e4671836ea Mon Sep 17 00:00:00 2001 From: Shen-Ta Hsieh Date: Tue, 30 May 2023 02:39:09 +0800 Subject: [PATCH] python/build/libs.py: use right cmake variable to disable SDL --- python/build/libs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/build/libs.py b/python/build/libs.py index 1f89df53e..53b8316bd 100644 --- a/python/build/libs.py +++ b/python/build/libs.py @@ -149,7 +149,7 @@ gme = CmakeProject( '-DBUILD_SHARED_LIBS=OFF', '-DENABLE_UBSAN=OFF', '-DZLIB_INCLUDE_DIR=OFF', - '-DSDL2_DIR=OFF', + '-DCMAKE_DISABLE_FIND_PACKAGE_SDL2=ON', ], )