Added target dependencies.
This commit is contained in:
parent
7cd25027ad
commit
a554207c11
@ -25,7 +25,6 @@ add_channel_client_library(${MODULE_PREFIX} ${MODULE_NAME} ${CHANNEL_NAME} FALSE
|
||||
|
||||
target_link_libraries(${MODULE_NAME}
|
||||
winpr freerdp ${CMAKE_THREAD_LIBS_INIT}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../common/rdpsnd-common${CMAKE_STATIC_LIBRARY_SUFFIX}
|
||||
)
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "Channels/${CHANNEL_NAME}/Client")
|
||||
|
@ -20,4 +20,5 @@ set(SRCS
|
||||
rdpsnd_common.h
|
||||
rdpsnd_common.c)
|
||||
|
||||
add_library(rdpsnd-common STATIC ${SRCS})
|
||||
# Library currently header only
|
||||
#add_library(rdpsnd-common STATIC ${SRCS})
|
||||
|
@ -23,6 +23,4 @@ set(${MODULE_PREFIX}_SRCS
|
||||
|
||||
add_channel_server_library(${MODULE_PREFIX} ${MODULE_NAME} ${CHANNEL_NAME} FALSE "VirtualChannelEntry")
|
||||
|
||||
target_link_libraries(${MODULE_NAME} freerdp ${CMAKE_CURRENT_BINARY_DIR}/../common/rdpsnd-common${CMAKE_STATIC_LIBRARY_SUFFIX})
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "Channels/${CHANNEL_NAME}/Server")
|
||||
|
Loading…
Reference in New Issue
Block a user