CMAKE_MINIMUM_REQUIRED ( VERSION 2.8 )
PROJECT ( YAP_UDI_RTREE )
INCLUDE_DIRECTORIES(
.
)
SET ( SOURCES
rtree.c
rtree_udi.c
ADD_LIB(udi_rtree ${SOURCES})
INSTALL(TARGETS udi_rtree DESTINATION ${YAP_PL_LIBRARY_DIR})
INSTALL(FILES rtree.yap DESTINATION ${YAP_PL_LIBRARY_DIR})