]> AND Public Git Repository - simgrid.git/blobdiff - buildtools/Cmake/MakeLibWin.cmake
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reused mem check in pipol
[simgrid.git] / buildtools / Cmake / MakeLibWin.cmake
index 19fb44673b9280459049aed6975311e0fbb73427..cb29b3d5779f2946c4379bb4015cd7c5b07546c6 100644 (file)
@@ -9,7 +9,7 @@ set_target_properties(simgrid  PROPERTIES COMPILE_FLAGS "-D_XBT_DLL_EXPORT -DDLL
 if(enable_smpi)
   add_library(smpi SHARED ${SMPI_SRC})
   set_target_properties(smpi PROPERTIES COMPILE_FLAGS "-D_XBT_DLL_EXPORT -DDLL_EXPORT" VERSION ${libsmpi_version} OUTPUT_NAME "smpi")
-endif(enable_smpi)
+endif()
 
 # libpthreadGC2.dll
 if(ARCH_32_BITS)
@@ -44,7 +44,7 @@ target_link_libraries(simgrid         ${SIMGRID_DEP})
 if(enable_smpi)
 add_dependencies(smpi simgrid)
 target_link_libraries(smpi     ${SMPI_DEP})
-endif(enable_smpi)
+endif()
 
 find_path(PEXPORTS_PATH NAMES pexports.exe PATHS NO_DEFAULT_PATHS)
 message(STATUS "pexports: ${PEXPORTS_PATH}")