From fe10cdbf777f6d719430e761cda65a747e9d9c52 Mon Sep 17 00:00:00 2001 From: Martin Beseda <martin.beseda@vsb.cz> Date: Tue, 22 Oct 2019 01:21:34 +0200 Subject: [PATCH] [WIP] [FIX] [Win] Trying to fix compilation with MS-MPI. --- src/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c13cde01..2fc95299 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -142,11 +142,15 @@ IF("${BUILD_LIB}" STREQUAL "yes") TARGET_LINK_LIBRARIES( lib4neuro + PUBLIC + MPI::MPI_CXX + MPI::MPI_C + ${MPI_C_LIBRARIES} + ${MPI_CXX_LIBRARIES} + PRIVATE exprtk_wrap Threads::Threads - MPI::MPI_CXX - MPI::MPI_C ${Boost_LIBRARIES} ${CXX_FILESYSTEM_LIB} ${OpenBLAS_LIBRARIES} -- GitLab