[Samples] Fix include path for compiling C++ samples with 'scons samples'
This commit is contained in:
parent
f2f05e5ed1
commit
674701b0c2
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue