Skip to content

Commit 167c57e

Browse files
authored
Merge pull request #85 from rafbiels/sam2d-cuda-cmake-libs
[SeisAcoMod2D][CUDA] Fix incorrect linking flags
2 parents 10fca20 + 6f64099 commit 167c57e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SeisAcoMod2D/CUDA/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ include_directories(
8484

8585
cuda_add_executable(SeisAcoMod2D ${SOURCES})
8686

87-
target_link_libraries(SeisAcoMod2D -L${MPI_HOME}/lib -L${MPI_CXX_LIBRARIES} -L${CUDA_LIBRARIES})
87+
target_link_libraries(SeisAcoMod2D -L${MPI_HOME}/lib ${MPI_CXX_LIBRARIES} ${CUDA_LIBRARIES})

0 commit comments

Comments
 (0)