18 lines
336 B
CMake
18 lines
336 B
CMake
if (GMM_INCLUDE_DIR)
|
|
# in cache already
|
|
set(GMM_FOUND TRUE)
|
|
else ()
|
|
|
|
find_path(GMM_INCLUDE_DIR NAMES gmm/gmm.h
|
|
PATHS
|
|
${INCLUDE_INSTALL_DIR}
|
|
${GMM_INCLUDE_PATH}
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMM DEFAULT_MSG GMM_INCLUDE_DIR )
|
|
|
|
mark_as_advanced(GMM_INCLUDE_DIR)
|
|
|
|
endif()
|