Skip to content

Commit 4f146b7

Browse files
committed
respect ENABLE_OPENMP as source of truth for OPENMP enablement
1 parent 01bf3f7 commit 4f146b7

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/libs/ascent/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ endif()
6060

6161
set(ASCENT_WEBSERVER_ENABLED ${CONDUIT_RELAY_WEBSERVER_ENABLED})
6262

63-
set(ASCENT_OPENMP_ENABLED ${OPENMP_FOUND})
63+
set(ASCENT_OPENMP_ENABLED ${ENABLE_OPENMP})
6464
set(ASCENT_CUDA_ENABLED ${CUDA_FOUND})
6565
set(ASCENT_HIP_ENABLED ${HIP_FOUND})
6666

6767
if(ASCENT_VTKM_ENABLED)
68-
set(ASCENT_VTKM_OPENMP_ENABLED ${OPENMP_FOUND})
68+
set(ASCENT_VTKM_OPENMP_ENABLED ${ENABLE_OPENMP})
6969
set(ASCENT_VTKM_CUDA_ENABLED ${CUDA_FOUND})
7070
set(ASCENT_VTKM_KOKKOS_ENABLED ${HIP_FOUND})
7171
endif()
@@ -418,7 +418,7 @@ if(HIP_FOUND)
418418
list(APPEND ascent_thirdparty_libs blt::hip_runtime)
419419
endif()
420420

421-
if(OPENMP_FOUND)
421+
if(ENABLE_OPENMP)
422422
list(APPEND ascent_thirdparty_libs ${ascent_blt_openmp_deps})
423423
endif()
424424

src/utilities/about/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set(ABOUT_SOURCES
1515

1616
set(ABOUT_DEPS ascent)
1717

18-
if(OPENMP_FOUND)
18+
if(ENABLE_OPENMP)
1919
list(APPEND deps openmp)
2020
endif()
2121

@@ -38,7 +38,7 @@ endif()
3838
if(MPI_FOUND)
3939

4040
set(ABOUT_MPI_DEPS ascent_mpi mpi)
41-
if(OPENMP_FOUND)
41+
if(ENABLE_OPENMP)
4242
list(APPEND about_mpi_deps openmp)
4343
endif()
4444

src/utilities/holo_compare/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set(HOLO_SOURCES
1515

1616
set(holo_deps ascent)
1717

18-
if(OPENMP_FOUND)
18+
if(ENABLE_OPENMP)
1919
list(APPEND deps openmp)
2020
endif()
2121

src/utilities/replay/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set(REPLAY_SOURCES
1515

1616
set(replay_deps ascent)
1717

18-
if(OPENMP_FOUND)
18+
if(ENABLE_OPENMP)
1919
list(APPEND deps openmp)
2020
endif()
2121

@@ -38,7 +38,7 @@ endif()
3838
if(MPI_FOUND)
3939

4040
set(ascent_replay_mpi_deps ascent_mpi mpi)
41-
if(OPENMP_FOUND)
41+
if(ENABLE_OPENMP)
4242
list(APPEND ascent_replay_mpi_deps openmp)
4343
endif()
4444

0 commit comments

Comments
 (0)