From 71b61a34d0789651ba92143dc2852170dd891e5e Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 25 Feb 2011 20:04:17 -0800 Subject: glut_egl: Build library glut_egl --- cmake/target_api/no_api/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cmake') 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) -- cgit v1.2.3