From ab965cd81243a000b1d4bb7173ff6fae77156bbe Mon Sep 17 00:00:00 2001 From: navarrop Date: Wed, 10 Feb 2010 15:52:46 +0000 Subject: [PATCH 1/1] Take care of xbt/log.c file during supernovae mode. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7079 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- buildtools/CPACK/src/CMakeSupernovae.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildtools/CPACK/src/CMakeSupernovae.txt b/buildtools/CPACK/src/CMakeSupernovae.txt index 3741a0dc1d..55eeaa40a9 100644 --- a/buildtools/CPACK/src/CMakeSupernovae.txt +++ b/buildtools/CPACK/src/CMakeSupernovae.txt @@ -27,9 +27,9 @@ foreach(file ${simgrid_sources}) endif(file_delete MATCHES "${file}") endforeach (file_delete ${simgrid_fragile_sources}) if(en_plus) - if(file MATCHES "/home/navarrop/Bureau/simgrid-trunk/src/xbt/log.c") + if(file MATCHES "${PROJECT_DIRECTORY}/src/xbt/log.c") set(file "xbt/log.c") - endif(file MATCHES "/home/navarrop/Bureau/simgrid-trunk/src/xbt/log.c") + endif(file MATCHES "${PROJECT_DIRECTORY}/src/xbt/log.c") set(temp_src_simgrid "${temp_src_simgrid} ${file}") endif(en_plus) endforeach(file ${simgrid_sources}) @@ -43,9 +43,9 @@ foreach(file ${gras_sources}) endif(file_delete MATCHES "${file}") endforeach (file_delete ${gras_fragile_sources}) if(en_plus) - if(file MATCHES "/home/navarrop/Bureau/simgrid-trunk/src/xbt/log.c") + if(file MATCHES "${PROJECT_DIRECTORY}/src/xbt/log.c") set(file "xbt/log.c") - endif(file MATCHES "/home/navarrop/Bureau/simgrid-trunk/src/xbt/log.c") + endif(file MATCHES "${PROJECT_DIRECTORY}/src/xbt/log.c") set(temp_src_gras "${temp_src_gras} ${file}") endif(en_plus) endforeach(file ${gras_sources}) -- 2.20.1