mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-08 03:07:03 +00:00
Compare commits
3 Commits
4552d90eac
...
a2561f0f12
Author | SHA1 | Date | |
---|---|---|---|
a2561f0f12 | |||
fd45625ce6 | |||
3e0161a20f |
@ -21,13 +21,17 @@ if(pFlow_STD_Parallel_Alg)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
cmake_policy(SET CMP0169 OLD)
|
|
||||||
|
|
||||||
# Kokkos folder creation
|
# Kokkos folder creation
|
||||||
set(Kokkos_Source_DIR $ENV{HOME}/Kokkos/kokkos)
|
set(Kokkos_Source_DIR $ENV{HOME}/Kokkos/kokkos)
|
||||||
|
|
||||||
if(NOT EXISTS "${Kokkos_Source_DIR}/CMakeLists.txt")
|
if(NOT EXISTS "${Kokkos_Source_DIR}/CMakeLists.txt")
|
||||||
|
|
||||||
|
# Check CMake version and set policy CMP0169 if CMake version is 3.30 or higher
|
||||||
|
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.30")
|
||||||
|
cmake_policy(SET CMP0169 OLD)
|
||||||
|
endif()
|
||||||
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
kokkos
|
kokkos
|
||||||
|
Reference in New Issue
Block a user