replaced deprecated SUBDIRS with add_subdirectory