Skip to content

Commit

Permalink
Put mpi suffix in MODL target_link_libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
folmos-at-orange committed Oct 3, 2023
1 parent ace40c4 commit 7b4b2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Learning/MODL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ add_library(MODL_SO SHARED ${cppfiles})
target_link_libraries(MODL_SO PUBLIC DTForest KMDRRuleLibrary KWLearningProblem)

if(MPI)
target_link_libraries(MODL PUBLIC PLMPI)
target_link_libraries(MODL${MPI_SUFFIX} PUBLIC PLMPI)
target_link_libraries(MODL_SO PUBLIC PLMPI)
endif()

Expand Down

0 comments on commit 7b4b2cc

Please sign in to comment.