set(target util) aux_source_directory(. UTIL_SOURCES) add_library(${target} STATIC ${UTIL_SOURCES} )