We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 559861f + 5da9b95 commit 4489f45Copy full SHA for 4489f45
CMakeLists.txt
@@ -440,7 +440,11 @@ else()
440
message(STATUS "Not found telldus-core (telldus-core.h), not adding tellstick support")
441
endif (TELLDUSCORE_INCLUDE)
442
443
-target_link_libraries(domoticz -lrt ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${CURL_LIBRARIES} pthread lua mqtt sqlite ${CMAKE_DL_LIBS})
+IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
444
+ target_link_libraries(domoticz ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${CURL_LIBRARIES} pthread lua mqtt sqlite ${CMAKE_DL_LIBS})
445
+else()
446
+ target_link_libraries(domoticz -lrt ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${CURL_LIBRARIES} pthread lua mqtt sqlite ${CMAKE_DL_LIBS})
447
+ENDIF()
448
449
ADD_PRECOMPILED_HEADER(domoticz "main/stdafx.h")
450
0 commit comments