Fixed include paths for uwac
This commit is contained in:
parent
c8d570a074
commit
ed7e3761f1
@ -61,7 +61,7 @@ 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)
|
||||
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../compat/stdbool)
|
||||
endif()
|
||||
else()
|
||||
set(WINPR_HAVE_STDBOOL_H 1)
|
||||
@ -90,7 +90,7 @@ set(WAYLAND_FEATURE_DESCRIPTION "Wayland client")
|
||||
set(WAYLAND_FEATURE_TYPE "REQUIRED")
|
||||
find_feature(Wayland ${WAYLAND_FEATURE_TYPE} ${WAYLAND_FEATURE_PURPOSE} ${WAYLAND_FEATURE_DESCRIPTION})
|
||||
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR}/templates)
|
||||
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR}/templates)
|
||||
|
||||
add_subdirectory(libuwac)
|
||||
add_subdirectory(include)
|
||||
|
@ -150,7 +150,7 @@ endif()
|
||||
set(HAVE_TM_GMTOFF 1)
|
||||
endif()
|
||||
|
||||
if(NOT WIN32)
|
||||
if(NOT WIN32 AND NOT IOS)
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES pthread)
|
||||
CHECK_SYMBOL_EXISTS(pthread_mutex_timedlock pthread.h HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL)
|
||||
if (NOT HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user