enable_language(C) add_library(foo STATIC) add_subdirectory(subdir2)