Closed fabienbaron closed 9 years ago
Multiple bugs, try to replace some of the lines by the following:
FIND_PATH(MULTINEST_ROOT_DIR NAMES include/multinest.h HINTS /usr/local/multinest ${MULTINEST_ROOT_HINT} DOC "MULTINEST root directory.")
FIND_PATH(_MULTINEST_INCLUDE_DIRS NAMES multinest.h HINTS ${MULTINEST_ROOT_DIR}/include DOC "MULTINEST Include directory")
FIND_PATH(MULTINEST_MODULE_DIRS NAMES nested.mod HINTS /usr/local/modules ${MULTINEST_ROOT_DIR}/modules DOC "MULTINEST Fortran module directory")
Fixed in 87119e5
Multiple bugs, try to replace some of the lines by the following:
FIND_PATH(MULTINEST_ROOT_DIR NAMES include/multinest.h HINTS /usr/local/multinest ${MULTINEST_ROOT_HINT} DOC "MULTINEST root directory.")
FIND_PATH(_MULTINEST_INCLUDE_DIRS NAMES multinest.h HINTS ${MULTINEST_ROOT_DIR}/include DOC "MULTINEST Include directory")
FIND_PATH(MULTINEST_MODULE_DIRS NAMES nested.mod HINTS /usr/local/modules ${MULTINEST_ROOT_DIR}/modules DOC "MULTINEST Fortran module directory")