14 lines
801 B
Diff
14 lines
801 B
Diff
Index: domoticz-2020.2/CMakeLists.txt
|
|
===================================================================
|
|
--- domoticz-2022.1.orig/CMakeLists.txt
|
|
+++ domoticz-2022.1/CMakeLists.txt
|
|
@@ -745,7 +745,7 @@
|
|
message(STATUS "Not found telldus-core (telldus-core.h), not adding tellstick support")
|
|
ENDIF(TELLDUSCORE_INCLUDE)
|
|
|
|
-target_link_libraries(domoticz ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${MINIZIP_LIBRARIES} ${CURL_LIBRARIES} pthread ${MQTT_LIBRARIES} ${LUA_LIBRARIES} ${CMAKE_DL_LIBS} ${TELLDUS_LIBRARIES})
|
|
+target_link_libraries(domoticz ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${MINIZIP_LIBRARIES} ${CURL_LIBRARIES} pthread -lpythonVER ${MQTT_LIBRARIES} ${LUA_LIBRARIES} ${CMAKE_DL_LIBS} ${TELLDUS_LIBRARIES})
|
|
|
|
IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
|
target_link_libraries(domoticz -lresolv)
|