1if (GMM_INCLUDE_DIR) 2 # in cache already 3 set(GMM_FOUND TRUE) 4else (GMM_INCLUDE_DIR) 5 6find_path(GMM_INCLUDE_DIR NAMES gmm/gmm.h 7 PATHS 8 ${INCLUDE_INSTALL_DIR} 9 ${GMM_INCLUDE_PATH} 10 ) 11 12include(FindPackageHandleStandardArgs) 13FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMM DEFAULT_MSG GMM_INCLUDE_DIR ) 14 15mark_as_advanced(GMM_INCLUDE_DIR) 16 17endif(GMM_INCLUDE_DIR) 18