2b3c8c47a4
generate proper CMake targets so static linking works again.
18 lines
292 B
CMake
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})
|