Mercurial > hg > orthanc
comparison Resources/CMake/MongooseConfiguration.cmake @ 497:26b2d71228d8
fix for msvc
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 19 Jul 2013 16:48:59 +0200 |
parents | 5bb96a6100c0 |
children | 27d32fc6209a |
comparison
equal
deleted
inserted
replaced
495:5bb96a6100c0 | 497:26b2d71228d8 |
---|---|
33 -DNO_SSL=1 # Remove SSL support from mongoose | 33 -DNO_SSL=1 # Remove SSL support from mongoose |
34 ) | 34 ) |
35 endif() | 35 endif() |
36 | 36 |
37 | 37 |
38 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND ${CMAKE_COMPILER_IS_GNUCXX}) | 38 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
39 # This is a patch for MinGW64 | 39 if (${CMAKE_COMPILER_IS_GNUCXX}) |
40 add_definitions(-D_TIMESPEC_DEFINED=1) | 40 # This is a patch for MinGW64 |
41 add_definitions(-D_TIMESPEC_DEFINED=1) | |
42 endif() | |
41 endif() | 43 endif() |
42 | 44 |
43 source_group(ThirdParty\\Mongoose REGULAR_EXPRESSION ${MONGOOSE_SOURCES_DIR}/.*) | 45 source_group(ThirdParty\\Mongoose REGULAR_EXPRESSION ${MONGOOSE_SOURCES_DIR}/.*) |
44 | 46 |
45 else() | 47 else() |