diff --git a/ExampleCodes/Amr/Advection_AmrLevel/CMakeLists.txt b/ExampleCodes/Amr/Advection_AmrLevel/CMakeLists.txt index b26c45e5..b5fc3aaa 100644 --- a/ExampleCodes/Amr/Advection_AmrLevel/CMakeLists.txt +++ b/ExampleCodes/Amr/Advection_AmrLevel/CMakeLists.txt @@ -1,4 +1,4 @@ -if ( (AMReX_SPACEDIM EQUAL 1) OR NOT CMAKE_Fortran_COMPILER_LOADED ) +if ( (AMReX_SPACEDIM EQUAL 1) OR NOT AMReX_FORTRAN ) return() endif () diff --git a/ExampleCodes/Basic/HeatEquation_EX1_CF/CMakeLists.txt b/ExampleCodes/Basic/HeatEquation_EX1_CF/CMakeLists.txt index 4a791a81..52d3ee50 100644 --- a/ExampleCodes/Basic/HeatEquation_EX1_CF/CMakeLists.txt +++ b/ExampleCodes/Basic/HeatEquation_EX1_CF/CMakeLists.txt @@ -1,4 +1,4 @@ -if ( (AMReX_SPACEDIM EQUAL 1) OR NOT CMAKE_Fortran_COMPILER_LOADED) +if ( (AMReX_SPACEDIM EQUAL 1) OR NOT AMReX_FINTERFACES) return() endif () diff --git a/ExampleCodes/Basic/HeatEquation_EX2_CF/CMakeLists.txt b/ExampleCodes/Basic/HeatEquation_EX2_CF/CMakeLists.txt index 19119b1a..dd2c2923 100644 --- a/ExampleCodes/Basic/HeatEquation_EX2_CF/CMakeLists.txt +++ b/ExampleCodes/Basic/HeatEquation_EX2_CF/CMakeLists.txt @@ -1,4 +1,4 @@ -if ( NOT CMAKE_Fortran_COMPILER_LOADED OR ( AMReX_SPACEDIM EQUAL 1) ) +if ( NOT AMReX_FINTERFACES OR ( AMReX_SPACEDIM EQUAL 1) ) return() endif ()