diff --git a/src/incflo_advance.cpp b/src/incflo_advance.cpp index a93a4b45..82c27230 100644 --- a/src/incflo_advance.cpp +++ b/src/incflo_advance.cpp @@ -89,6 +89,7 @@ void incflo::Advance(Real orig_mass, Real& prev_mass, Real& prev_vol) Real vol = volWgtSum(my_lev,get_tracer_new_const()[my_lev],0,fact); #else Real sum = volWgtSum(my_lev,get_density_new_const()[my_lev],0); + Real vol = volWgtSum(my_lev,get_tracer_new_const()[my_lev],0); #endif auto const dx = geom[my_lev].CellSize(); diff --git a/src/utilities/CMakeLists.txt b/src/utilities/CMakeLists.txt index 37750e33..ff710c81 100644 --- a/src/utilities/CMakeLists.txt +++ b/src/utilities/CMakeLists.txt @@ -1,3 +1,5 @@ +target_include_directories(incflo PRIVATE ${CMAKE_CURRENT_LIST_DIR}) + target_sources(incflo PRIVATE incflo_build_info.cpp