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)
9SET(HEADERS
10  include/couch_index_merger.hrl
11  include/couch_view_merger.hrl)
12
13ADD_ERLANG_INCLUDE_DIR(${CMAKE_CURRENT_SOURCE_DIR}/../../src)
14ADD_ERLANG_INCLUDE_DIR(${CMAKE_CURRENT_SOURCE_DIR}/../../src/couchdb)
15
16ERL_BUILD_OTP (APPNAME "couch_index_merger" VERSION 1.0.0
17  INSTALL_PATH ${CMAKE_ERL_LIB_INSTALL_PREFIX}
18  HEADERS ${HEADERS} SOURCES ${SOURCES})
19