add_library(hello hello.c hello-name.c) set_property(TARGET hello PROPERTY VERSION "1") install(TARGETS hello DESTINATION lib) target_include_directories(hello PUBLIC .) # <-- "include path to here"