diff --git a/CMakeLists.txt b/CMakeLists.txt index 8bccecbb0..2cae258ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,7 @@ project( set(CPACK_PACKAGE_CHECKSUM "SHA512") set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md") set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt") +set(CPACK_SOURCE_GENERATOR "TBZ2") include(CMakePackageConfigHelpers) include(CPack) @@ -95,6 +96,15 @@ FetchContent_Declare( FIND_PACKAGE_ARGS NAMES Kokkos) FetchContent_MakeAvailable(kokkos) +FetchContent_Declare( + kokkos_kernels + GIT_REPOSITORY "https://github.com/kokkos/kokkos-kernels" + FIND_PACKAGE_ARGS NAMES KokkosKernels) +FetchContent_MakeAvailable(kokkos_kernels) +if(WIN32) + target_compile_options(kokkoskernels PRIVATE "/bigobj") +endif() + add_subdirectory(benchmark) add_subdirectory(cmake) add_subdirectory(include)