aboutsummaryrefslogtreecommitdiff
path: root/ports/freerdp/fix-include-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/freerdp/fix-include-path.patch')
-rw-r--r--ports/freerdp/fix-include-path.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/ports/freerdp/fix-include-path.patch b/ports/freerdp/fix-include-path.patch
new file mode 100644
index 000000000..e9efc3bd3
--- /dev/null
+++ b/ports/freerdp/fix-include-path.patch
@@ -0,0 +1,26 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 019926901..91973c888 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -103,7 +103,7 @@ else()
+ endif()
+ message("FREERDP_VERSION=${FREERDP_VERSION_FULL}")
+
+-set(FREERDP_INCLUDE_DIR "include/freerdp${FREERDP_VERSION_MAJOR}/")
++set(FREERDP_INCLUDE_DIR "include/freerdp/")
+
+ # Compatibility options
+ if(DEFINED STATIC_CHANNELS)
+diff --git a/winpr/CMakeLists.txt b/winpr/CMakeLists.txt
+index 2da25a426..b06f718e9 100644
+--- a/winpr/CMakeLists.txt
++++ b/winpr/CMakeLists.txt
+@@ -193,7 +193,7 @@ if(${CMAKE_VERSION} VERSION_GREATER "2.8.10")
+
+ SetFreeRDPCMakeInstallDir(WINPR_CMAKE_INSTALL_DIR "WinPR${WINPR_VERSION_MAJOR}")
+
+- set(WINPR_INCLUDE_DIR "include/winpr${WINPR_VERSION_MAJOR}")
++ set(WINPR_INCLUDE_DIR "include/winpr")
+
+ configure_package_config_file(WinPRConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/WinPRConfig.cmake
+ INSTALL_DESTINATION ${WINPR_CMAKE_INSTALL_DIR}