Mercurial > hg > orthanc
comparison Resources/CMake/MongooseConfiguration.cmake @ 0:3959d33612cc
initial commit
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 19 Jul 2012 14:32:22 +0200 |
parents | |
children | 3a584803783e |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3959d33612cc |
---|---|
1 SET(MONGOOSE_SOURCES_DIR ${CMAKE_BINARY_DIR}/mongoose) | |
2 DownloadPackage("http://mongoose.googlecode.com/files/mongoose-3.1.tgz" "${MONGOOSE_SOURCES_DIR}" "" "") | |
3 | |
4 # Patch mongoose | |
5 execute_process( | |
6 COMMAND patch mongoose.c ${CMAKE_SOURCE_DIR}/Resources/mongoose-patch.diff | |
7 WORKING_DIRECTORY ${MONGOOSE_SOURCES_DIR} | |
8 ) | |
9 | |
10 include_directories( | |
11 ${MONGOOSE_SOURCES_DIR} | |
12 ) | |
13 | |
14 list(APPEND THIRD_PARTY_SOURCES | |
15 ${MONGOOSE_SOURCES_DIR}/mongoose.c | |
16 ) | |
17 | |
18 add_definitions( | |
19 # Remove SSL support from mongoose | |
20 -DNO_SSL=1 | |
21 ) |