comparison Resources/CMake/MongooseConfiguration.cmake @ 29:042ac60f5bf9

simplified build of curl
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 29 Aug 2012 15:27:13 +0200
parents 6ba765ecf3db
children 7593b57dc1bf
comparison
equal deleted inserted replaced
28:ef264c1e9ee5 29:042ac60f5bf9
16 ) 16 )
17 17
18 18
19 if (${ENABLE_SSL}) 19 if (${ENABLE_SSL})
20 add_definitions( 20 add_definitions(
21 -DPALANTIR_SSL_ENABLED=1
22 -DNO_SSL_DL=1 21 -DNO_SSL_DL=1
23 ) 22 )
24 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") 23 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
25 link_libraries(dl) 24 link_libraries(dl)
26 endif() 25 endif()
27 26
28 else() 27 else()
29 add_definitions( 28 add_definitions(
30 -DPALANTIR_SSL_ENABLED=0
31 -DNO_SSL=1 # Remove SSL support from mongoose 29 -DNO_SSL=1 # Remove SSL support from mongoose
32 ) 30 )
33 endif() 31 endif()
34 32
35 33