Fixed standalone issues with cmake

This commit is contained in:
Armin Novak 2021-06-22 09:11:06 +02:00 committed by akallabeth
parent 8ef57bf296
commit b11ea98772
3 changed files with 5 additions and 2 deletions

View File

@ -53,6 +53,8 @@
#include <freerdp/server/rdpgfx.h>
#include <freerdp/server/disp.h>
extern void freerdp_channels_dummy(void);
void freerdp_channels_dummy(void)
{
audin_server_context* audin;

View File

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

View File

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