diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/target_api/no_api/CMakeLists.txt | 10 |
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) |