Project

General

Profile

« Previous | Next » 

Revision 5945cfcc

Added by Pierre-Loïc Garoche over 7 years ago

hints to drive search of lustrec binary

View differences:

regression_tests/modules/Lustre_compile.cmake
38 38
# FIND_PROGRAM twice using NO_DEFAULT_PATH on first shot
39 39
find_program(LUSTRE_COMPILER
40 40
  NAMES lustrec
41
  PATHS ${LUSTRE_PATH_HINT}
41
  HINTS ${LUSTRE_PATH_HINT}
42 42
  PATH_SUFFIXES bin
43 43
  DOC "Path to the Lustre compiler command 'lustrec'")
44

  
44 45
find_program(LUSTRE_COMPILER
45 46
  NAMES lustrec
46 47
  PATHS ${LUSTRE_PATH_HINT}
......
49 50
  DOC "Path to the Lustre compiler command 'lustrec'")
50 51

  
51 52

  
52

  
53 53
if(LUSTRE_COMPILER)
54 54
    # get the path where the lustre compiler was found
55 55
    get_filename_component(LUSTRE_PATH ${LUSTRE_COMPILER} PATH)

Also available in: Unified diff