@PACKAGE_INIT@ include("@CMAKE_INSTALL_PREFIX@/lib/cmake/AtomSpace/AtomSpaceTargets.cmake") # Execution depends on atomspace and atomspace depends on execution, # but circular dependencies are forbidden by cmake, so dependancy # on execution is omitted in atomspace at build time. It should be set # here for proper linking. set_property(TARGET execution APPEND PROPERTY INTERFACE_LINK_LIBRARIES atomspace ) set_property(TARGET query-engine APPEND PROPERTY INTERFACE_LINK_LIBRARIES pattern atomspace ) set_property(TARGET truthvalue APPEND PROPERTY INTERFACE_LINK_LIBRARIES execution ) # These names are used in various projects e.g. opencog, as-moses, etc. # XXX FIXME ... they probably should not be! It would be best if the all # of the libs were specified i.e. LINK_LIBRARIES(${ATOMSPACE_LIBRARIES}) set(ATOMSPACE_LIBRARY atomspace) set(ATOMSPACE_atombase_LIBRARY atombase) set(ATOMSPACE_atomcore_LIBRARY atomcore) set(ATOMSPACE_atomflow_LIBRARY atomflow) set(ATOMSPACE_atomproto_LIBRARY value) set(ATOMSPACE_atomspace_LIBRARY atomspace) set(ATOMSPACE_atomtypes_LIBRARY atom_types) set(ATOMSPACE_clearbox_LIBRARY clearbox) set(ATOMSPACE_execution_LIBRARY execution) set(ATOMSPACE_grounded_LIBRARY grounded) set(ATOMSPACE_join_LIBRARY join) set(ATOMSPACE_json_LIBRARY json) set(ATOMSPACE_pattern_LIBRARY pattern) set(ATOMSPACE_load_scm_LIBRARY load_scm) set(ATOMSPACE_persist_LIBRARY persist) set(ATOMSPACE_sexpr_LIBRARY sexpr) set(ATOMSPACE_smob_LIBRARY smob) set(ATOMSPACE_truthvalue_LIBRARY truthvalue) set(ATOMSPACE_value_LIBRARY value) set(ATOMSPACE_LIBRARIES atom_types value atombase atomcore atomflow truthvalue clearbox join pattern load_scm persist query-engine execution grounded json sexpr smob atomspace ) # Python is optional IF (HAVE_CYTHON) set(ATOMSPACE_PythonEval_LIBRARY PythonEval) SET(ATOMSPACE_LIBRARIES ${ATOMSPACE_LIBRARIES} ${ATOMSPACE_PythonEval_LIBRARY} ) ENDIF (HAVE_CYTHON) # persist-sql is optional IF (persist-sql) set(ATOMSPACE_persist-sql_LIBRARY persist-sql) SET(ATOMSPACE_LIBRARIES ${ATOMSPACE_LIBRARIES} ${ATOMSPACE_persist-sql_LIBRARY} ) SET(HAVE_PERSIST_SQL 1) ADD_DEFINITIONS(-DHAVE_PERSIST_SQL) ENDIF (persist-sql) set(ATOMSPACE_DATA_DIR "@CMAKE_INSTALL_PREFIX@/share/opencog") set(ATOMSPACE_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/") set(ATOMSPACE_VERSION "@SEMANTIC_VERSION@") set(ATOMSPACE_FOUND 1)