add_library(CPU cpu.c op.c memory.c cpu.h) find_package(log.c) target_link_libraries(CPU log.c::log.c)