mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 08:00:31 -04:00
PR: 220827 Submitted by: stl@koffein.net Approved by: joe@thrallingpenguin.com (maintainer)
26 lines
614 B
Text
26 lines
614 B
Text
--- src/CMakeLists.txt.orig 2016-08-17 11:05:14 UTC
|
|
+++ src/CMakeLists.txt
|
|
@@ -77,6 +77,7 @@ if (WIN32 OR CYGWIN)
|
|
endif (WIN32 OR CYGWIN)
|
|
|
|
add_definitions (-DWITH_BROKER)
|
|
+add_definitions (-DWITH_THREADING)
|
|
|
|
add_executable(mosquitto ${MOSQ_SRCS})
|
|
|
|
@@ -86,7 +87,7 @@ if (UNIX)
|
|
if (APPLE)
|
|
set (MOSQ_LIBS ${MOSQ_LIBS} dl m)
|
|
else (APPLE)
|
|
- set (MOSQ_LIBS ${MOSQ_LIBS} rt dl m)
|
|
+ set (MOSQ_LIBS ${MOSQ_LIBS} rt m)
|
|
endif (APPLE)
|
|
endif (UNIX)
|
|
|
|
@@ -127,6 +128,5 @@ if (${WITH_TLS} STREQUAL ON)
|
|
endif (${WITH_TLS} STREQUAL ON)
|
|
|
|
if (UNIX)
|
|
- install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
|
|
endif (UNIX)
|
|
|