Mercurial > hg > orthanc
view Resources/CMake/MongooseConfiguration.cmake @ 1:c79c5da42866 Palantir-0.1.0
Palantir-0.1.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 19 Jul 2012 14:39:58 +0200 |
parents | 3959d33612cc |
children | 3a584803783e |
line wrap: on
line source
SET(MONGOOSE_SOURCES_DIR ${CMAKE_BINARY_DIR}/mongoose) DownloadPackage("http://mongoose.googlecode.com/files/mongoose-3.1.tgz" "${MONGOOSE_SOURCES_DIR}" "" "") # Patch mongoose execute_process( COMMAND patch mongoose.c ${CMAKE_SOURCE_DIR}/Resources/mongoose-patch.diff WORKING_DIRECTORY ${MONGOOSE_SOURCES_DIR} ) include_directories( ${MONGOOSE_SOURCES_DIR} ) list(APPEND THIRD_PARTY_SOURCES ${MONGOOSE_SOURCES_DIR}/mongoose.c ) add_definitions( # Remove SSL support from mongoose -DNO_SSL=1 )