mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
cmake: Allow project-wide includes for third-party components
This commit is contained in:
parent
3835fa8a35
commit
0d30f6bf9e
@ -420,6 +420,13 @@ endif()
|
|||||||
|
|
||||||
# Sub-directories
|
# Sub-directories
|
||||||
|
|
||||||
|
if(WITH_THIRD_PARTY)
|
||||||
|
add_subdirectory(third-party)
|
||||||
|
if (NOT "${THIRD_PARTY_INCLUDES}" STREQUAL "")
|
||||||
|
include_directories(${THIRD_PARTY_INCLUDES})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(include)
|
add_subdirectory(include)
|
||||||
|
|
||||||
add_subdirectory(libfreerdp)
|
add_subdirectory(libfreerdp)
|
||||||
@ -440,10 +447,6 @@ if(WITH_SERVER)
|
|||||||
add_subdirectory(server)
|
add_subdirectory(server)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_THIRD_PARTY)
|
|
||||||
add_subdirectory(third-party)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Packaging
|
# Packaging
|
||||||
|
|
||||||
SET(CPACK_BINARY_ZIP "ON")
|
SET(CPACK_BINARY_ZIP "ON")
|
||||||
|
1
third-party/CMakeLists.txt
vendored
1
third-party/CMakeLists.txt
vendored
@ -29,3 +29,4 @@ foreach(dir ${all_valid_subdirs})
|
|||||||
endif()
|
endif()
|
||||||
endforeach(dir)
|
endforeach(dir)
|
||||||
|
|
||||||
|
set(THIRD_PARTY_INCLUDES ${THIRD_PARTY_INCLUDES} PARENT_SCOPE)
|
Loading…
Reference in New Issue
Block a user