]> Creatis software - bbtk.git/blobdiff - kernel/src/cmake/bbtkConfigure.h.in
fix default_temp_dir trouble
[bbtk.git] / kernel / src / cmake / bbtkConfigure.h.in
index d9654e4b06ca2c6801c7d647b67695535df10ee4..465d77d665bf317abdb4767a2bb88177d0529137 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkConfigure.h.in,v $
   Language:  C++
-  Date:      $Date: 2008/01/22 15:02:00 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/02/01 12:45:58 $
+  Version:   $Revision: 1.2 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -32,7 +32,9 @@
 
 
 /* Hardcode the path to BBTK_DATA_ROOT */
+#ifndef BBTK_DATA_ROOT
 #define BBTK_DATA_ROOT "@BBTK_DATA_ROOT@"
+#endif 
 
 /* Usefull in particular for loadshared where the full path
  * to the lib is needed */
 /* BBTK Versioning                                                          */
 
 /* Version number.  */
+#ifndef BBTK_VERSION
 #define BBTK_MAJOR_VERSION @BBTK_MAJOR_VERSION@
 #define BBTK_MINOR_VERSION @BBTK_MINOR_VERSION@
 #define BBTK_BUILD_VERSION @BBTK_BUILD_VERSION@
 #define BBTK_VERSION "@BBTK_VERSION@"
-
+#endif
 
 #endif