diff --git a/channels/CMakeLists.txt b/channels/CMakeLists.txt index a7c8f9636..2478e4c02 100644 --- a/channels/CMakeLists.txt +++ b/channels/CMakeLists.txt @@ -209,9 +209,7 @@ macro(add_channel_client_library _module_prefix _module_name _channel_name _dyna add_library(${_module_name} STATIC ${${_module_prefix}_SRCS}) target_link_libraries(${_module_name} ${${_module_prefix}_LIBS}) - if (NOT BUILTIN_CHANNELS) - client_channel_install(${_module_name} ${FREERDP_ADDIN_PATH}) - endif() + client_channel_install(${_module_name} ${FREERDP_ADDIN_PATH}) endif() endmacro(add_channel_client_library) @@ -249,9 +247,7 @@ macro(add_channel_client_subsystem_library _module_prefix _module_name _channel_ add_library(${_module_name} STATIC ${${_module_prefix}_SRCS}) target_link_libraries(${_module_name} ${${_module_prefix}_LIBS}) - if (NOT BUILTIN_CHANNELS) - client_channel_install(${_module_name} ${FREERDP_ADDIN_PATH}) - endif() + client_channel_install(${_module_name} ${FREERDP_ADDIN_PATH}) endif() endmacro(add_channel_client_subsystem_library) @@ -286,9 +282,7 @@ macro(add_channel_server_library _module_prefix _module_name _channel_name _dyna set(${_module_prefix}_CHANNEL ${_channel_name} PARENT_SCOPE) set(${_module_prefix}_ENTRY ${_entry} PARENT_SCOPE) add_library(${_module_name} STATIC ${${_module_prefix}_SRCS}) - if (NOT BUILTIN_CHANNELS) - server_channel_install(${_module_name} ${FREERDP_ADDIN_PATH}) - endif() + server_channel_install(${_module_name} ${FREERDP_ADDIN_PATH}) endif() endmacro(add_channel_server_library) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 4288dad2d..65fc72588 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -96,6 +96,4 @@ write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/FreeRDP-ClientConfi install(FILES ${CMAKE_CURRENT_BINARY_DIR}/FreeRDP-ClientConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/FreeRDP-ClientConfigVersion.cmake DESTINATION ${FREERDP_CLIENT_CMAKE_INSTALL_DIR}) -if (NOT BUILTIN_CHANNELS) - install(EXPORT FreeRDP-ClientTargets DESTINATION ${FREERDP_CLIENT_CMAKE_INSTALL_DIR}) -endif() +install(EXPORT FreeRDP-ClientTargets DESTINATION ${FREERDP_CLIENT_CMAKE_INSTALL_DIR})