include(CMakeFindDependencyMacro) #find_dependency(foo @foo_VERSION@ REQUIRED) include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake")