Moving boost to a system include
Created by: bathmatt
I've been trying to move boost to a system include, however, when I run cmake and build it doesn't look right.
I applied these changes I think everywhere
./packages/stk/stk_classic/stk_usecases/io/CMakeLists.txt:INCLUDE_DIRECTORIES(SYSTEM ${Boost_INCLUDE_DIRS})
I make sure I didn't miss any, here is my silly script
dir-Trilinos (gcc) 31 $ grep INCLUDE_DIR `find . -name C\*txt -exec grep -l Boost {} \;`|grep Boost|grep -v SYSTEM
and it's clean. but I see
-I/projects/sems/install/rhel6-x86_64/sems/tpl/boost/1.59.0/gcc/5.3.0/base/include
and not the -Isystem
where's my mistake?
cd /home/mbetten/builds/panzer/cuda/debug/packages/stk/stk_topology/stk_topology && /projects/sems/install/rhel6-x86_64/sems/compiler/gcc/5.3.0/openmpi/1.10.1/bin/mpicxx -I/home/mbetten/builds/panzer/cuda/debug -I/home/mbetten/Trilinos/Trilinos/packages/stk/stk_topology -I/home/mbetten/builds/panzer/cuda/debug/packages/stk/stk_util/stk_util/use_cases -I/home/mbetten/Trilinos/Trilinos/packages/stk/stk_util/stk_util/use_cases -I/home/mbetten/builds/panzer/cuda/debug/packages/stk/stk_util/stk_util/registry -I/home/mbetten/Trilinos/Trilinos/packages/stk/stk_util/stk_util/registry -I/home/mbetten/builds/panzer/cuda/debug/packages/stk/stk_util/stk_util/parallel -I/home/mbetten/Trilinos/Trilinos/packages/stk/stk_util/stk_util/parallel -I/home/mbetten/builds/panzer/cuda/debug/packages/stk/stk_util/stk_util/diag -I/home/mbetten/Trilinos/Trilinos/packages/stk/stk_util/stk_util/diag -I/home/mbetten/Trilinos/Trilinos/packages/stk/stk_util/stk_util/environment -I/home/mbetten/builds/panzer/cuda/debug/packages/stk/stk_util/stk_util/util -I/home/mbetten/Trilinos/Trilinos/packages/stk/stk_util -I/home/mbetten/builds/panzer/cuda/debug/packages/stk/stk_util -I/home/mbetten/Trilinos/Trilinos/packages/stk/stk_util/stk_util/util -I/home/mbetten/Trilinos/Trilinos/packages/seacas/libraries/aprepro_lib -I/projects/sems/install/rhel6-x86_64/sems/tpl/boost/1.59.0/gcc/5.3.0/base/include -std=c++11 -g -O0 -o CMakeFiles/stk_topology.dir/topology.cpp.o -c /home/mbetten/Trilinos/Trilinos/packages/stk/stk_topology/stk_topology/topology.cpp