22 lines
436 B
CMake
22 lines
436 B
CMake
CMAKE_MINIMUM_REQUIRED ( VERSION 2.8 )
|
|
|
|
PROJECT ( YAP_UDI_INDEXERS C )
|
|
|
|
SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
|
|
|
FIND_PACKAGE(YAP REQUIRED)
|
|
IF (NOT YAP_FOUND)
|
|
MESSAGE (SEND_ERROR "YAP was not found!")
|
|
ENDIF (NOT YAP_FOUND)
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
${YAP_INCLUDE_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
.
|
|
)
|
|
|
|
#indexers
|
|
ADD_SUBDIRECTORY(rtree)
|
|
ADD_SUBDIRECTORY(b+tree)
|
|
ADD_SUBDIRECTORY(uthash)
|