summaryrefslogtreecommitdiff
path: root/libpiano/src/CMakeLists.txt
blob: 432c5fda7bfb0ad2c329a06afcc82427de280870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set (CMAKE_C_FLAGS -Wall)

find_package (LibXml2 REQUIRED)

configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
	${CMAKE_CURRENT_BINARY_DIR}/config.h)

include_directories (${LIBXML2_INCLUDE_DIR}
	${CMAKE_CURRENT_SOURCE_DIR}/../../libwaitress/src)

add_library (piano STATIC crypt.c http.c main.c xml.c)
target_link_libraries (piano ${LIBXML_LIBRARIES} waitress)