Added target dependencies.

This commit is contained in:
Armin Novak 2018-07-02 16:46:03 +02:00
parent 7cd25027ad
commit a554207c11
3 changed files with 2 additions and 4 deletions

View File

@ -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")

View File

@ -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})

View File

@ -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")