Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix out-of-tree builds after 3203ed1, sorry
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 3 Nov 2015 23:09:34 +0000 (00:09 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 3 Nov 2015 23:09:37 +0000 (00:09 +0100)
(fix #32)

CMakeLists.txt
src/portable.h
src/xbt/dict.c
src/xbt/xbt_sha.c

index f793f39..3904250 100644 (file)
@@ -153,6 +153,7 @@ set(INCLUDES
   ${CMAKE_HOME_DIRECTORY}
   ${CMAKE_HOME_DIRECTORY}/include
   ${CMAKE_HOME_DIRECTORY}/src/include
+  ${CMAKE_BINARY_DIR}
   ${CMAKE_BINARY_DIR}/include
   )
 
index d3d435b..7ccd0a7 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef SIMGRID_PORTABLE_H
 #define SIMGRID_PORTABLE_H
 
-#include "internal_config.h"
+#include "src/internal_config.h"
 #include "xbt/base.h"
 #include "xbt/misc.h"
 #ifdef _XBT_WIN32
index b486403..8208fe5 100644 (file)
@@ -676,7 +676,7 @@ void xbt_dict_postexit(void)
 #ifdef SIMGRID_TEST
 #include "xbt.h"
 #include "xbt/ex.h"
-#include "portable.h"
+#include "src/portable.h"
 
 #define PRINTF_STR(a) (a)?:"(null)"
 
index e2973ca..d6223e2 100644 (file)
@@ -177,7 +177,7 @@ static void sha_calculate(xbt_sha_t sha)
 /* ************* */
 #ifdef SIMGRID_TEST
 #include "xbt/hash.h"
-#include "portable.h"           /* hexa_str */
+#include "src/portable.h"           /* hexa_str */
 
 static char *mycmp(const char *p1, const char *p2, size_t n)
 {