|
@@ -214,7 +214,6 @@ set(NONINTERACTIVE
|
|
testatomic
|
|
testatomic
|
|
testerror
|
|
testerror
|
|
testfilesystem
|
|
testfilesystem
|
|
- testkeys
|
|
|
|
testlocale
|
|
testlocale
|
|
testplatform
|
|
testplatform
|
|
testpower
|
|
testpower
|
|
@@ -233,15 +232,20 @@ if(LINUX)
|
|
list(APPEND NONINTERACTIVE testevdev)
|
|
list(APPEND NONINTERACTIVE testevdev)
|
|
endif()
|
|
endif()
|
|
|
|
|
|
-set(NEEDS_AUDIO
|
|
|
|
|
|
+if(SDL_DUMMYAUDIO)
|
|
|
|
+ set(NEEDS_AUDIO
|
|
testaudioinfo
|
|
testaudioinfo
|
|
testsurround
|
|
testsurround
|
|
-)
|
|
|
|
|
|
+ )
|
|
|
|
+endif()
|
|
|
|
|
|
-set(NEEDS_DISPLAY
|
|
|
|
|
|
+if(SDL_DUMMYVIDEO)
|
|
|
|
+ set(NEEDS_DISPLAY
|
|
|
|
+ testkeys
|
|
testbounds
|
|
testbounds
|
|
testdisplayinfo
|
|
testdisplayinfo
|
|
-)
|
|
|
|
|
|
+ )
|
|
|
|
+endif()
|
|
|
|
|
|
if(OPENGL_FOUND)
|
|
if(OPENGL_FOUND)
|
|
add_dependencies(testshader OpenGL::GL)
|
|
add_dependencies(testshader OpenGL::GL)
|