diff --git a/src/Learning/MODL/CMakeLists.txt b/src/Learning/MODL/CMakeLists.txt index 8389cf023..5da4848ce 100644 --- a/src/Learning/MODL/CMakeLists.txt +++ b/src/Learning/MODL/CMakeLists.txt @@ -1,6 +1,6 @@ file(GLOB cppfiles ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp) -# MODL executable On Fedora, binaries built with mpi must be suffixed by _mpich (in stored ${MPI_SUFFIX}) +# on fedora, binaries built with mpi must ended by _mpich suffix add_executable(MODL${MPI_SUFFIX} ${cppfiles} MODL.rc) target_link_libraries(MODL${MPI_SUFFIX} PUBLIC DTForest KMDRRuleLibrary KWLearningProblem) set_khiops_options(MODL${MPI_SUFFIX}) @@ -8,7 +8,6 @@ if(MPI) target_link_libraries(MODL${MPI_SUFFIX} PUBLIC PLMPI) endif() -# MODL_SO (shared library) add_library(MODL_SO SHARED ${cppfiles}) target_link_libraries(MODL_SO PUBLIC DTForest KMDRRuleLibrary KWLearningProblem) if(MPI) diff --git a/src/Learning/MODL_Coclustering/CMakeLists.txt b/src/Learning/MODL_Coclustering/CMakeLists.txt index 97cb92dd5..a88b178cd 100644 --- a/src/Learning/MODL_Coclustering/CMakeLists.txt +++ b/src/Learning/MODL_Coclustering/CMakeLists.txt @@ -3,13 +3,8 @@ file(GLOB cppfiles ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp) # on fedora, binaries built with mpi must ended by _mpich suffix add_executable(MODL_Coclustering${MPI_SUFFIX} ${cppfiles} MODL_Coclustering.rc) set_khiops_options(MODL_Coclustering${MPI_SUFFIX}) - target_link_libraries(MODL_Coclustering${MPI_SUFFIX} PUBLIC KMDRRuleLibrary KWLearningProblem) -if(MSVC) - target_link_options(MODL_Coclustering${MPI_SUFFIX} PUBLIC "/INCREMENTAL") -endif() - add_library(MODL_Coclustering_SO SHARED ${cppfiles}) target_link_libraries(MODL_Coclustering_SO PUBLIC KMDRRuleLibrary KWLearningProblem) set_target_properties(