diff --git a/Applications/CMakeLists.txt b/Applications/CMakeLists.txt
index c04c7727f5decd2379b6f72cbe49b60cfedc935a..6e5a6c2b0bc449a6e8529c1b7f9f581cb226e2f6 100644
--- a/Applications/CMakeLists.txt
+++ b/Applications/CMakeLists.txt
@@ -16,4 +16,4 @@
 
 #=========================================================================
 add_executable(Test lsgrmProto.cxx)
-target_link_libraries(Test OTBLSGRM)
+target_link_libraries(Test OTBLSGRM ${MPI_CXX_LIBRARIES})