add_subdirectory(sqlite3/sqlite-3430000) add_subdirectory(goahead-5.2.0) add_custom_target( External_lib_clean COMMAND rm -rf goahead-5.2.0/GoAhead WORKING_DIRECTORY ${EXTERNAL_SOURCE_PATH} )