Mercurial > hg > orthanc
comparison Resources/CMake/MongooseConfiguration.cmake @ 102:7593b57dc1bf
switch to google log
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 03 Oct 2012 16:28:13 +0200 |
parents | 042ac60f5bf9 |
children | b45bc565d82a 9aa8ecbeeeb9 61ab5fa36754 |
comparison
equal
deleted
inserted
replaced
101:428784e59dcd | 102:7593b57dc1bf |
---|---|
1 SET(MONGOOSE_SOURCES_DIR ${CMAKE_BINARY_DIR}/mongoose) | 1 SET(MONGOOSE_SOURCES_DIR ${CMAKE_BINARY_DIR}/mongoose) |
2 DownloadPackage("http://mongoose.googlecode.com/files/mongoose-3.1.tgz" "${MONGOOSE_SOURCES_DIR}" "" "") | 2 DownloadPackage("http://mongoose.googlecode.com/files/mongoose-3.1.tgz" "${MONGOOSE_SOURCES_DIR}" "" "") |
3 | 3 |
4 # Patch mongoose | 4 # Patch mongoose |
5 execute_process( | 5 execute_process( |
6 COMMAND patch mongoose.c ${CMAKE_SOURCE_DIR}/Resources/mongoose-patch.diff | 6 COMMAND patch mongoose.c ${CMAKE_SOURCE_DIR}/Resources/Patches/mongoose-patch.diff |
7 WORKING_DIRECTORY ${MONGOOSE_SOURCES_DIR} | 7 WORKING_DIRECTORY ${MONGOOSE_SOURCES_DIR} |
8 ) | 8 ) |
9 | 9 |
10 include_directories( | 10 include_directories( |
11 ${MONGOOSE_SOURCES_DIR} | 11 ${MONGOOSE_SOURCES_DIR} |
28 add_definitions( | 28 add_definitions( |
29 -DNO_SSL=1 # Remove SSL support from mongoose | 29 -DNO_SSL=1 # Remove SSL support from mongoose |
30 ) | 30 ) |
31 endif() | 31 endif() |
32 | 32 |
33 | |
34 source_group(ThirdParty\\Mongoose REGULAR_EXPRESSION ${MONGOOSE_SOURCES_DIR}/.*) | 33 source_group(ThirdParty\\Mongoose REGULAR_EXPRESSION ${MONGOOSE_SOURCES_DIR}/.*) |