From b11ea98772870c7c6bc2813f8ae7ffaa36861455 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 22 Jun 2021 09:11:06 +0200 Subject: [PATCH] Fixed standalone issues with cmake --- channels/server/channels.c | 2 ++ rdtk/include/CMakeLists.txt | 4 ++-- uwac/CMakeLists.txt | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/channels/server/channels.c b/channels/server/channels.c index 40c55eecc..531848d9e 100644 --- a/channels/server/channels.c +++ b/channels/server/channels.c @@ -53,6 +53,8 @@ #include #include +extern void freerdp_channels_dummy(void); + void freerdp_channels_dummy(void) { audin_server_context* audin; diff --git a/rdtk/include/CMakeLists.txt b/rdtk/include/CMakeLists.txt index 5e84ceb6d..774fe0b0e 100644 --- a/rdtk/include/CMakeLists.txt +++ b/rdtk/include/CMakeLists.txt @@ -1,2 +1,2 @@ -file(GLOB RDTK_HEADERS "rdkt/*.h") -install(FILES ${RDTK_HEADERS} DESTINATION include/rdkt${RDTK_API_VERSION}/rdkt COMPONENT headers) +file(GLOB RDTK_HEADERS "rdtk/*.h") +install(FILES ${RDTK_HEADERS} DESTINATION include/rdtk${RDTK_API_VERSION}/rdtk COMPONENT headers) diff --git a/uwac/CMakeLists.txt b/uwac/CMakeLists.txt index 00e26ec95..f76842982 100644 --- a/uwac/CMakeLists.txt +++ b/uwac/CMakeLists.txt @@ -58,6 +58,7 @@ if (NOT CMAKE_BUILD_TYPE) endif() if (NOT IOS) + include(CheckIncludeFiles) check_include_files(stdbool.h WINPR_HAVE_STDBOOL_H) if (NOT WINPR_HAVE_STDBOOL_H) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../compat/stdbool)