summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/egl/CMakeLists.gl.txt2
-rw-r--r--tests/egl/CMakeLists.gles2.txt5
-rw-r--r--tests/egl/CMakeLists.txt1
3 files changed, 1 insertions, 7 deletions
diff --git a/tests/egl/CMakeLists.gl.txt b/tests/egl/CMakeLists.gl.txt
index 4a2a57c16..f3af96ada 100644
--- a/tests/egl/CMakeLists.gl.txt
+++ b/tests/egl/CMakeLists.gl.txt
@@ -20,8 +20,6 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_link_libraries(egl-create-surface pthread ${X11_X11_LIB})
piglit_add_executable (egl-query-surface egl-util.c egl-query-surface.c)
target_link_libraries(egl-query-surface pthread ${X11_X11_LIB})
-
- add_subdirectory(spec)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
# vim: ft=cmake:
diff --git a/tests/egl/CMakeLists.gles2.txt b/tests/egl/CMakeLists.gles2.txt
deleted file mode 100644
index 11c27c615..000000000
--- a/tests/egl/CMakeLists.gles2.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
- add_subdirectory(spec)
-ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
-
-# vim: ft=cmake:
diff --git a/tests/egl/CMakeLists.txt b/tests/egl/CMakeLists.txt
index 144a306f4..c591f8d44 100644
--- a/tests/egl/CMakeLists.txt
+++ b/tests/egl/CMakeLists.txt
@@ -1 +1,2 @@
piglit_include_target_api()
+add_subdirectory(spec)