X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c927e76c17fc515f51a6e41aa4edf59480caf190..3a42d7a9a23f7eeeb8448083ccd8d3da9a69197c:/buildtools/Cmake/Distrib.cmake diff --git a/buildtools/Cmake/Distrib.cmake b/buildtools/Cmake/Distrib.cmake index fdafa18853..a725b96ca2 100644 --- a/buildtools/Cmake/Distrib.cmake +++ b/buildtools/Cmake/Distrib.cmake @@ -38,7 +38,16 @@ install(TARGETS simgrid gras if(enable_smpi) install(TARGETS smpi DESTINATION $ENV{DESTDIR}${prefix}/lib/) -endif(enable_smpi) +endif(enable_smpi) + +if(enable_lib_static) + install(TARGETS simgrid_static + DESTINATION $ENV{DESTDIR}${prefix}/lib/) + if(enable_smpi) + install(TARGETS smpi_static + DESTINATION $ENV{DESTDIR}${prefix}/lib/) + endif(enable_smpi) +endif(enable_lib_static) # include files foreach(file ${install_HEADERS})