git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7776
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
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
# 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
if(enable_smpi)
install(TARGETS smpi
- LIBRARY DESTINATION $ENV{DESTDIR}${prefix}/lib/)
+ DESTINATION $ENV{DESTDIR}${prefix}/lib/)
endif(enable_smpi)
# include files