FreeRDP/server/proxy/channels/CMakeLists.txt
akallabeth 2b3c8c47a4 [build] fix install with BUILD_SHARED_LIBS=OFF
generate proper CMake targets so static linking works again.
2023-05-12 08:03:56 +02:00

18 lines
292 B
CMake

set(MODULE_NAME pf_channels)
set(SOURCES
pf_channel_rdpdr.c
pf_channel_rdpdr.h
pf_channel_drdynvc.c
pf_channel_drdynvc.h
)
if (WITH_PROXY_EMULATE_SMARTCARD)
list(APPEND SOURCES
pf_channel_smartcard.c
pf_channel_smartcard.h
)
endif()
add_library(${MODULE_NAME} OBJECT ${SOURCES})