Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Delete error in windows.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 19 May 2010 16:19:48 +0000 (16:19 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 19 May 2010 16:19:48 +0000 (16:19 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7776 48e7efb5-ca39-0410-a469-dd3cf9ba447f

CMakeLists.txt
buildtools/Cmake/src/CMakeDistrib.txt

index e87b427..a3e6ed5 100644 (file)
@@ -16,10 +16,6 @@ if(WIN32)
     message("RC_COMPILER               $ENV{RC}")
     message("INCLUDE                   $ENV{INCLUDE}")
     message("LIB                               $ENV{LIB}")
     message("RC_COMPILER               $ENV{RC}")
     message("INCLUDE                   $ENV{INCLUDE}")
     message("LIB                               $ENV{LIB}")
-    
-    if(NOT EXISTS "$ENV{CC}.exe" OR NOT EXISTS "$ENV{CXX}.exe" OR OR NOT EXISTS "$ENV{RC}.exe" OR NOT EXISTS "$ENV{INCLUDE}" OR OR NOT EXISTS "$ENV{LIB}")
-       message(FATAL_ERROR "Need to set correctely CC, CXX, RC, INCLUDE and LIB environment variables.")
-    endif(NOT EXISTS "$ENV{CC}.exe" OR NOT EXISTS "$ENV{CXX}.exe" OR OR NOT EXISTS "$ENV{RC}.exe" OR NOT EXISTS "$ENV{INCLUDE}" OR OR NOT EXISTS "$ENV{LIB}")
 endif(WIN32)
 
 ### Find programs and paths
 endif(WIN32)
 
 ### Find programs and paths
index dba49fb..9589a55 100755 (executable)
@@ -27,7 +27,7 @@ install(PROGRAMS tools/MSG_visualization/colorize.pl
 
 # libraries
 install(TARGETS simgrid gras 
 
 # libraries
 install(TARGETS simgrid gras 
-        LIBRARY DESTINATION $ENV{DESTDIR}${prefix}/lib/)
+        DESTINATION $ENV{DESTDIR}${prefix}/lib/)
        
 install(FILES ${CMAKE_BINARY_DIR}/lib/libsimgrid_static.a 
         RENAME libsimgrid.a
        
 install(FILES ${CMAKE_BINARY_DIR}/lib/libsimgrid_static.a 
         RENAME libsimgrid.a
@@ -35,7 +35,7 @@ install(FILES ${CMAKE_BINARY_DIR}/lib/libsimgrid_static.a
        
 if(enable_smpi)        
   install(TARGETS smpi
        
 if(enable_smpi)        
   install(TARGETS smpi
-          LIBRARY DESTINATION $ENV{DESTDIR}${prefix}/lib/)
+          DESTINATION $ENV{DESTDIR}${prefix}/lib/)
 endif(enable_smpi)     
 
 # include files
 endif(enable_smpi)     
 
 # include files