Skip to content

Commit

Permalink
Merge pull request #33 from af-ayala/backends
Browse files Browse the repository at this point in the history
Small fixes to CMakeLists
  • Loading branch information
luszczek authored Apr 6, 2022
2 parents 40fd22a + 6e48058 commit a4c0ffd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ link_directories(${FIBER_FFT_LIB_DIRS})
include_directories(include)

# Location of MPI
include_directories(${MPI_DIR}/include)
link_directories(${MPI_DIR}/lib)
include_directories(${MPI_C_INCLUDE_DIRS})
link_directories(${MPI_C_LIBRARIES})

#######################
# libfiber source files
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
macro(fiber_add_benchmark fiber_benchmark)

add_executable(${fiber_benchmark} "${fiber_benchmark}.c")
target_link_libraries(${fiber_benchmark} mpi)
target_link_libraries(${fiber_benchmark} ${MPI_C_LIBRARIES})
if (FIBER_ENABLE_CUDA)
target_link_libraries(${fiber_benchmark} ${CUDA_LIBRARIES})
endif()
Expand Down

0 comments on commit a4c0ffd

Please sign in to comment.