Skip to content

Commit

Permalink
Fixed RdTk include directories
Browse files Browse the repository at this point in the history
  • Loading branch information
akallabeth committed Jun 28, 2021
1 parent ed7e376 commit b05625f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rdtk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ endif()
if (NOT IOS)
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)
Expand All @@ -90,9 +90,13 @@ else()
endif()

SetFreeRDPCMakeInstallDir(RDTK_CMAKE_INSTALL_DIR "rdtk${RDTK_VERSION_MAJOR}")
add_subdirectory(include)

include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR}/templates)

add_subdirectory(librdtk)
add_subdirectory(include)
add_subdirectory(templates)

install(EXPORT rdtk DESTINATION ${RDTK_CMAKE_INSTALL_DIR})

if(WITH_SAMPLE)
Expand Down

0 comments on commit b05625f

Please sign in to comment.