mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-06 14:14:46 +08:00
6fb3e5f176
Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style.
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()
|