# cmake/akstdlib.cmake.in -- installed as akstdlibConfig.cmake # # akstdlibTargets.cmake names akerror::akerror in the INTERFACE_LINK_LIBRARIES of # the imported akstdlib target, because akstdlib links it PUBLIC. Without the # find_dependency below, a consumer that has not already found akerror itself # gets a bare "target not found" out of the generated targets file rather than a # message naming the dependency it is missing. # # No version is requested here. libakerror installs no akerrorConfigVersion.cmake, # so find_dependency(akerror 1.0.0) would be refused for want of a version file # regardless of which akerror is actually installed. The 1.0.0 floor is carried by # the `Requires: akerror >= 1.0.0` line in akstdlib.pc and enforced at compile # time by the #error guard at the top of akstdlib.h. include(CMakeFindDependencyMacro) find_dependency(akerror) include("${CMAKE_CURRENT_LIST_DIR}/akstdlibTargets.cmake")