blob: b3d49a27a986aee9c453e2a6c776e28d05391f4e (
plain)
1
2
3
4
5
6
7
8
9
|
find_package (LibXml2 REQUIRED)
find_package (CURL REQUIRED)
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
${CMAKE_CURRENT_BINARY_DIR}/config.h)
include_directories (${LIBXML2_INCLUDE_DIR} ${CURL_INCLUDE_DIRS})
add_library (piano STATIC crypt.c http.c main.c xml.c)
target_link_libraries (${CURL_LIBRARIES} ${LIBXML_LIBRARIES})
|