1SET(SOURCES
2  src/couch_httpd_view_merger.erl
3  src/couch_http_view_streamer.erl
4  src/couch_index_merger.erl
5  src/couch_index_merger_validation.erl
6  src/couch_skew.erl
7  src/couch_view_merger.erl
8  src/couch_view_merger_queue.erl
9  src/couch_index_sup.erl
10  src/couch_query_logger.erl
11  src/couch_index_app.erl)
12SET(HEADERS
13  include/couch_index_merger.hrl
14  include/couch_view_merger.hrl)
15
16ADD_ERLANG_INCLUDE_DIR(${CMAKE_CURRENT_SOURCE_DIR}/../../src)
17ADD_ERLANG_INCLUDE_DIR(${CMAKE_CURRENT_SOURCE_DIR}/../../src/couchdb)
18
19ERL_BUILD_OTP (APPNAME "couch_index_merger" VERSION 1.0.0
20  INSTALL_PATH ${CMAKE_ERL_LIB_INSTALL_PREFIX}
21  HEADERS ${HEADERS} SOURCES ${SOURCES} DEPENDS ${COUCHDB_ALL_ERLANG_HEADERS})
22