From 2381f059edcf855cf099231e82763dce938b6e52 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Thu, 12 May 2016 12:31:16 +0100 Subject: [PATCH] Set KOKKOS_PATH to build Kokkos version --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8501add..1b46398 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,14 +105,14 @@ endif () #------------------------------------------------------------------------------- # Kokkos #------------------------------------------------------------------------------- -if (BUILD_KOKKOS) +if (KOKKOS_PATH) if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") add_custom_target(gpu-stream-kokkos COMMAND make -f KokkosMakefile) else() message("Skipping Kokkos (requires Linux)") endif() else() - message("Skipping Kokkos... (use -DBUILD_KOKKOS=1 to opt in)") + message("Skipping Kokkos... (use -DKOKKOS_PATH=/path/to/kokkos to opt in)") endif() #-------------------------------------------------------------------------------