SET(APP_NAME raw2caps)

SET(SOURCES
	raw2caps.cpp
)

ADD_EXECUTABLE(${APP_NAME} ${SOURCES})

TARGET_LINK_LIBRARIES(${APP_NAME}
	capsclient
	mseed
	${Boost_program_options_LIBRARY}
	${Boost_filesystem_LIBRARY}
	${Boost_system_LIBRARY}
	${OPENSSL_LIBRARIES}
)

INSTALL(TARGETS ${APP_NAME} DESTINATION examples)
INSTALL(DIRECTORY python DESTINATION examples)
