Made tdtool link agains the framework on OS X
This commit is contained in:
parent
268da5b3c9
commit
3a1a2f7097
1 changed files with 9 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue