comparison Resources/CMake/MongooseConfiguration.cmake @ 1415:728c22ade2e2

cleaning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jun 2015 21:30:25 +0200
parents 0a67a502c90f
children fbf763bb1fa3
comparison
equal deleted inserted replaced
1414:0a67a502c90f 1415:728c22ade2e2
35 set(MONGOOSE_SOURCES 35 set(MONGOOSE_SOURCES
36 ${MONGOOSE_SOURCES_DIR}/mongoose.c 36 ${MONGOOSE_SOURCES_DIR}/mongoose.c
37 ) 37 )
38 38
39 39
40 if (${ENABLE_SSL}) 40 if (ENABLE_SSL)
41 add_definitions( 41 add_definitions(
42 -DNO_SSL_DL=1 42 -DNO_SSL_DL=1
43 ) 43 )
44 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR 44 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
45 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") 45 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD")
52 ) 52 )
53 endif() 53 endif()
54 54
55 55
56 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") 56 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
57 if (${CMAKE_COMPILER_IS_GNUCXX}) 57 if (CMAKE_COMPILER_IS_GNUCXX)
58 # This is a patch for MinGW64 58 # This is a patch for MinGW64
59 add_definitions(-D_TIMESPEC_DEFINED=1) 59 add_definitions(-D_TIMESPEC_DEFINED=1)
60 endif() 60 endif()
61 endif() 61 endif()
62 62