[Samples] Fix include path for compiling C++ samples with 'scons samples'

This commit is contained in:
Ray Speth 2019-06-20 10:33:06 -04:00
parent f2f05e5ed1
commit 674701b0c2

View file

@ -33,10 +33,10 @@ set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS})
localenv["cmake_extra"] += "find_library(ACCELERATE_FRAMEWORK Accelerate)"
localenv.Append(LIBS=env['cantera_libs'])
localenv.Prepend(CPPPATH=['#include'])
buildSample(localenv.Program, pjoin(subdir, name),
mglob(localenv, subdir, *extensions),
CPPPATH=['#include', env['boost_inc_dir']])
mglob(localenv, subdir, *extensions))
# Note: These Makefiles and SConstruct files are automatically installed
# by the "RecursiveInstall" that grabs everything in the cxx directory.