Comment 1 for bug 1069708

Revision history for this message
linas (linasvepstas) wrote :

This should fix it, I will push this shortly

=== modified file 'examples/atomtypes/CMakeLists.txt'
--- examples/atomtypes/CMakeLists.txt 2009-04-16 21:37:25 +0000
+++ examples/atomtypes/CMakeLists.txt 2012-10-22 15:18:03 +0000
@@ -10,6 +10,9 @@
 # you must add a dependency to this target, as follows:
 # ADD_DEPENDENCIES(lib_or_exec_name example_atom_types)

+# The atom_types.h file is written to the build directory
+INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
+
 ADD_LIBRARY (customatomtypes SHARED
  atom_types
  CustomAtomTypesTester
@@ -18,3 +21,4 @@

 ADD_DEPENDENCIES(customatomtypes opencog_atom_types)
 ADD_DEPENDENCIES(customatomtypes attention_atom_types)
+ADD_DEPENDENCIES(customatomtypes examples_atom_types)