Set rpath when compiling with netcdf writer

parent 64c502ef
...@@ -287,6 +287,7 @@ if env['writeNetCDF'] == True: ...@@ -287,6 +287,7 @@ if env['writeNetCDF'] == True:
# set netCDF location # set netCDF location
if 'netCDFDir' in env: if 'netCDFDir' in env:
env.Append(CPPPATH=[env['netCDFDir']+'/include']) env.Append(CPPPATH=[env['netCDFDir']+'/include'])
env.Append(RPATH=[os.path.join(env['netCDFDir'], 'lib')])
# set the precompiler flags, includes and libraries for ASAGI # set the precompiler flags, includes and libraries for ASAGI
if env['asagi'] == True: if env['asagi'] == True:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment