mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 00:09:15 -04:00
While here, make it PREFIX clean. PR: 224210 Submitted by: Manuel Stühn <freebsd@justmail.de> Approved by: Joseph Benden <joe@thrallingpenguin.com>
26 lines
652 B
Text
26 lines
652 B
Text
--- src/CMakeLists.txt.orig 2017-07-10 22:46:01 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})
|
|
|
|
@@ -96,7 +97,7 @@ if (UNIX)
|
|
if (APPLE)
|
|
set (MOSQ_LIBS ${MOSQ_LIBS} dl m)
|
|
else (APPLE)
|
|
- set (MOSQ_LIBS ${MOSQ_LIBS} dl m)
|
|
+ set (MOSQ_LIBS ${MOSQ_LIBS} m)
|
|
find_library(LIBRT rt)
|
|
if (LIBRT)
|
|
set (MOSQ_LIBS ${MOSQ_LIBS} rt)
|
|
@@ -141,6 +142,5 @@ if (${WITH_TLS} STREQUAL ON)
|
|
endif (${WITH_TLS} STREQUAL ON)
|
|
|
|
if (UNIX)
|
|
- install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
|
|
endif (UNIX)
|
|
|