diff --git a/cmake/kokkos_config.cmake b/cmake/kokkos_config.cmake index fecbe7e6..3a5db5db 100644 --- a/cmake/kokkos_config.cmake +++ b/cmake/kokkos_config.cmake @@ -11,6 +11,8 @@ ExternalProject_Add( CMAKE_ARGS -G "${CMAKE_GENERATOR}" + -DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER} + -DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${KOKKOS_INSTALL_DIR}