FIND_PATH(LOG4CPP_INCLUDE_DIRS log4cpp/FileAppender.hh) FIND_LIBRARY(LOG4CPP_LIBRARY NAMES liblog4cpp.so) INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(LOG4CPP DEFAULT_MSG LOG4CPP_LIBRARY LOG4CPP_INCLUDE_DIRS) MARK_AS_ADVANCED(LOG4CPP_INCLUDE_DIRS LOG4CPP_LIBRARY)