diff --git a/cmake/kokkos_arch.cmake b/cmake/kokkos_arch.cmake index aac3c2844e0..cdcd4111309 100644 --- a/cmake/kokkos_arch.cmake +++ b/cmake/kokkos_arch.cmake @@ -803,12 +803,12 @@ IF(KOKKOS_ARCH_INTEL_PVC) ENDIF() IF (KOKKOS_ENABLE_OPENMP) - IF(KOKKOS_CLANG_IS_CRAY) - COMPILER_SPECIFIC_LINK_OPTIONS( - CrayClang -fopenmp # Needed for cmake>=3.28 - Clang -fopenmp - ) - ENDIF() + IF(KOKKOS_CLANG_IS_CRAY) + COMPILER_SPECIFIC_LINK_OPTIONS( + CrayClang -fopenmp # Needed for cmake>=3.28 + Clang -fopenmp + ) + ENDIF() ENDIF() IF (KOKKOS_ENABLE_OPENMPTARGET)