29 lines
539 B
CMake
29 lines
539 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)
|
|
|
|
disallow_intree_builds()
|
|
|
|
#project (utf8proc C)
|
|
|
|
# Be sure to also update these in Makefile!
|