kokkos / pykokkos-base

Python bindings for data interoperability with Kokkos (View, DynRankView)
Other
26 stars 9 forks source link

Error in CMakeLists.txt include of CheckCXXSourceCompiles #1

Closed NaderAlAwar closed 4 years ago

NaderAlAwar commented 4 years ago

cmake version: 3.18.2

Running

mkdir build
cd build
cmake -DBUILD_EXAMPLES=ON -DKokkos_DIR=$path_to_install/lib/cmake/Kokkos ..

gives the following error

  CMake Error at CMakeLists.txt:8 (INCLUDE):
  INCLUDE could not find load file:

    CheckCxxSourceCompiles

I fixed this by replacing CheckCxxSourceCompiles with CheckCXXSourceCompiles (capitalizing xx) on line 8 in CMakeLists.txt. I can open a pull request if needed.

jrmadsen commented 4 years ago

Ah, yea I wrote all this on my Mac which has a case-insensitive filesystem. No worries about a PR. I’ll just change it.

jrmadsen commented 4 years ago

Alright it's fixed. I haven't been doing PRs yet but since someone else is looking at it now, I'll guess I'll start