Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add version to shared lib and full path for sources.
[simgrid.git] / buildtools / Cmake / src / CMakeMakeExeLib.txt
index 42111c1..e85e0c9 100644 (file)
@@ -6,9 +6,11 @@ else(enable_supernovae)
        add_library(simgrid SHARED ${simgrid_sources})
        add_library(simgrid_static STATIC ${simgrid_sources})
        add_library(gras SHARED ${gras_sources})
-       add_library(smpi STATIC ${SMPI_SRC})
+       add_library(smpi SHARED ${SMPI_SRC})
 endif(enable_supernovae)
 
+set_target_properties(simgrid gras smpi PROPERTIES VERSION ${simgrid_version})
+
 set(GRAS_DEP "-lm -lpthread")
 set(SIMGRID_DEP "-lm")
 set(SMPI_DEP "")