Made tdtool link agains the framework on OS X

This commit is contained in:
Micke Prag 2009-08-20 09:57:52 +00:00
parent 268da5b3c9
commit 3a1a2f7097

View file

@ -13,8 +13,14 @@ INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/driver
)
TARGET_LINK_LIBRARIES(tdtool
telldus-core
)
IF (APPLE)
TARGET_LINK_LIBRARIES(tdtool
TelldusCore
)
ELSE (APPLE)
TARGET_LINK_LIBRARIES(tdtool
telldus-core
)
ENDIF (APPLE)
INSTALL(TARGETS tdtool RUNTIME DESTINATION bin)