summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2011-02-25 20:04:17 -0800
committerChad Versace <chad.versace@intel.com>2011-02-25 20:44:11 -0800
commit71b61a34d0789651ba92143dc2852170dd891e5e (patch)
treef7ec27d448cafbf7c4102fcca41e80b267fc8b96 /cmake
parent5cffc11b3dcb9572f6a06b8308881e7c18250a37 (diff)
glut_egl: Build library glut_egl
Diffstat (limited to 'cmake')
-rw-r--r--cmake/target_api/no_api/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/cmake/target_api/no_api/CMakeLists.txt b/cmake/target_api/no_api/CMakeLists.txt
index 5c00744fe..afce3c469 100644
--- a/cmake/target_api/no_api/CMakeLists.txt
+++ b/cmake/target_api/no_api/CMakeLists.txt
@@ -1,8 +1,10 @@
-# "Think of no API. no_api... what kind of API is that? NonAPI. This is the
+# "Make no_api. no_api... what kind of API is that? NonAPI. This is the
# essential art of CMake-zen."
# -- Eihei Dogen. "Fukan Zazengi". circa 1228 CE.
set(piglit_target_api "no_api")
-add_subdirectory(${piglit_SOURCE_DIR}/tests
- ${piglit_BINARY_DIR}/target_api/${piglit_target_api}/tests
- )
+foreach(dir "src" "tests")
+ add_subdirectory(${piglit_SOURCE_DIR}/${dir}
+ ${piglit_BINARY_DIR}/target_api/${piglit_target_api}/${dir}
+ )
+endforeach(dir)