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

Support of kFreeBSD
author jodogne
date Mon, 16 Jun 2014 15:39:16 +0200
parents ee0d5abf7958
children 3a26bc6e4867
line wrap: on
line diff
--- a/Resources/CMake/MongooseConfiguration.cmake	Sat Jun 14 15:50:02 2014 +0200
+++ b/Resources/CMake/MongooseConfiguration.cmake	Mon Jun 16 15:39:16 2014 +0200
@@ -24,7 +24,8 @@
     add_definitions(
       -DNO_SSL_DL=1
       )
-    if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+    if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
+        ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD")
       link_libraries(dl)
     endif()