Skip to content

Commit

Permalink
remove old build notes for cmake <3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
JBludau committed Jan 26, 2025
1 parent ebdc601 commit 6414df6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/source/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ When configuring your project just set:
-DKokkos_ROOT=${kokkos_install_prefix} \
-DCMAKE_CXX_COMPILER=${compiler_used_to_build_kokkos}
````
Note: You may need the following if using some versions of CMake (e.g. 3.12):
````cmake
cmake_policy(SET CMP0074 NEW)
````
If building in-tree, there is no `find_package`. You can use `add_subdirectory(kokkos)` with the Kokkos source and again just link with `target_link_libraries(Kokkos::kokkos)`.
The examples in `examples/cmake_build_installed` and `examples/cmake_build_in_tree` can help get you started.

Expand Down

0 comments on commit 6414df6

Please sign in to comment.