Link against a thread-library

This commit is contained in:
Micke Prag 2010-08-27 10:13:32 +00:00
parent 6a974ffd81
commit 5303970913
2 changed files with 8 additions and 0 deletions

View file

@ -23,6 +23,10 @@ INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}/../common
)
FIND_PACKAGE(Threads)
LIST(APPEND telldus-client_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
######## Configurable options for the platform ########

View file

@ -31,6 +31,9 @@ INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}/../common
)
FIND_PACKAGE(Threads)
LIST(APPEND telldus-service_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
######## Configurable options for the platform ########
@ -86,6 +89,7 @@ ELSEIF (WIN32) #### Windows ####
)
ELSE (APPLE) #### Linux ####
SET( telldus-service_TARGET telldusd )
SET( telldus-service_SRCS
${telldus-service_SRCS}