Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Include directory is in source_dir, not in binary_dir.
[simgrid.git] / teshsuite / smpi / mpich3-test / attr / CMakeLists.txt
index d410c76..81d0972 100644 (file)
@@ -12,7 +12,7 @@ if(enable_smpi)
   set(MPICH_FLAGS "-DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DUSE_STDARG=1 -DHAVE_LONG_DOUBLE=1 -DHAVE_PROTOTYPES=1 -DHAVE_SIGNAL_H=1 -DHAVE_SIGACTION=1 -DHAVE_SLEEP=1 -DHAVE_SYSCONF=1")
 
   include_directories("${CMAKE_HOME_DIRECTORY}/include/smpi")
-  include_directories("${CMAKE_CURRENT_BINARY_DIR}/../include/")
+  include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include/")
 
   add_executable(attr2type attr2type.c ../util/mtest.c)
   add_executable(attrend2 attrend2.c ../util/mtest.c)