another occurence of that little cmake fix

This commit is contained in:
Benoit Jacob 2008-07-12 23:27:41 +00:00
parent 861d18d553
commit e979e6485f

View File

@ -17,14 +17,14 @@ if (MTL4_INCLUDE_DIR)
else (MTL4_INCLUDE_DIR)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(MTL4 DEFAULT_MSG MTL4_INCLUDE_DIR)
find_path(MTL4_INCLUDE_DIR NAMES boost/numeric/mtl/mtl.hpp
PATHS
${INCLUDE_INSTALL_DIR}
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(MTL4 DEFAULT_MSG MTL4_INCLUDE_DIR)
mark_as_advanced(MTL4_INCLUDE_DIR)
endif(MTL4_INCLUDE_DIR)