comparison Resources/CMake/MongooseConfiguration.cmake @ 890:816dccaeb7cf

Support of kFreeBSD
author jodogne
date Mon, 16 Jun 2014 15:39:16 +0200
parents ee0d5abf7958
children 3a26bc6e4867
comparison
equal deleted inserted replaced
883:50106e80555a 890:816dccaeb7cf
22 22
23 if (${ENABLE_SSL}) 23 if (${ENABLE_SSL})
24 add_definitions( 24 add_definitions(
25 -DNO_SSL_DL=1 25 -DNO_SSL_DL=1
26 ) 26 )
27 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") 27 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
28 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD")
28 link_libraries(dl) 29 link_libraries(dl)
29 endif() 30 endif()
30 31
31 else() 32 else()
32 add_definitions( 33 add_definitions(