This commit simplifies "contrib/CMakeLists.txt" and
"tools/CMakeLists.txt" using "add_subdirectories" function.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
-file(GLOB CONTRIB_CMAKE_FILES "*/CMakeLists.txt")
-
-foreach(CONTRIB_CMAKE_FILE ${CONTRIB_CMAKE_FILES})
- get_filename_component(CONTRIB_BASE ${CONTRIB_CMAKE_FILE} DIRECTORY)
- add_subdirectory(${CONTRIB_BASE})
-endforeach(CONTRIB_CMAKE_FILE ${CONTRIB_CMAKE_FILES})
+add_subdirectories()
return()
endif(NOT BUILD_TOOLS)
-add_subdirectory(nnapi_quickcheck)
-add_subdirectory(opencl_tool)
+add_subdirectories()