- Timestamp:
- 05/16/17 15:13:24 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r3034 r3126 48 48 ("cfitsiolib", "The cfitsio library name", "cfitsio"), 49 49 ("cfitsioincdir", "The cfitsio include location", None), 50 ("wcslib", "The wcs library name", "wcs"),51 ("wcsroot",52 "The root directory where wcs is installed", None),53 ("wcslibdir", "The wcs library location", None),54 50 ("rpfitslib", "The rpfits library name", "rpfits"), 55 51 ("rpfitsroot", … … 126 122 if not conf.CheckLib(libname, language='c'): 127 123 Exit(1) 128 conf.env.AddCustomPackage('wcs')129 libname = conf.env["wcslib"]130 if libname.find(".") > -1 and os.path.exists(libname):131 conf.env.AppendUnique(LIBS=[env.File(libname)])132 else:133 if not conf.CheckLibWithHeader(libname,134 'wcslib/wcs.h', language='c'):135 Exit(1)136 124 137 125 conf.env.AddCustomPackage('rpfits')
Note:
See TracChangeset
for help on using the changeset viewer.