From 262b5c65d26a6c4a342e4fd0642df04ad7c48ffd Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 29 Nov 2022 16:07:17 +0100
Subject: [PATCH] cmake: test/controllermap.c and test/testgamecontroller.c
need test/testutils.c
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 61ad2e3..335572a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -286,7 +286,7 @@ if(SDL2COMPAT_TESTS)
test_program(checkkeys "test/checkkeys.c")
test_program(checkkeysthreads "test/checkkeysthreads.c")
- test_program(controllermap "test/controllermap.c")
+ test_program(controllermap "test/controllermap.c;test/testutils.c")
test_program(loopwave "test/loopwave.c;test/testutils.c")
test_program(loopwavequeue "test/loopwavequeue.c;test/testutils.c")
test_program(testatomic "test/testatomic.c")
@@ -303,7 +303,7 @@ if(SDL2COMPAT_TESTS)
test_program(testevdev "test/testevdev.c")
test_program(testfile "test/testfile.c")
test_program(testfilesystem "test/testfilesystem.c")
- test_program(testgamecontroller "test/testgamecontroller.c")
+ test_program(testgamecontroller "test/testgamecontroller.c;test/testutils.c")
test_program(testgeometry "test/testgeometry.c;test/testutils.c")
test_program(testgesture "test/testgesture.c")
test_program(testhaptic "test/testhaptic.c")