2020-04-03 12:22:28 -05:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2022-07-13 02:09:23 +08:00
|
|
|
index 54df8cf..5232d46 100644
|
2020-04-03 12:22:28 -05:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2022-07-13 02:09:23 +08:00
|
|
|
@@ -129,7 +129,7 @@ endif()
|
|
|
|
|
|
|
|
message(STATUS "Git Revision ${GIT_REVISION}")
|
2020-04-03 12:22:28 -05:00
|
|
|
|
|
|
|
-set(FREERDP_INCLUDE_DIR "include/freerdp${FREERDP_VERSION_MAJOR}/")
|
2021-02-11 16:54:50 +08:00
|
|
|
+set(FREERDP_INCLUDE_DIR "include/")
|
2020-04-03 12:22:28 -05:00
|
|
|
|
|
|
|
# Compatibility options
|
|
|
|
if(DEFINED STATIC_CHANNELS)
|
2020-09-28 08:29:24 +08:00
|
|
|
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
|
|
|
|
index a020dc5..0bc1157 100644
|
|
|
|
--- a/include/CMakeLists.txt
|
|
|
|
+++ b/include/CMakeLists.txt
|
|
|
|
@@ -19,7 +19,7 @@
|
|
|
|
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/freerdp/version.h.in ${CMAKE_CURRENT_BINARY_DIR}/freerdp/version.h)
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/freerdp/build-config.h.in ${CMAKE_CURRENT_BINARY_DIR}/freerdp/build-config.h)
|
|
|
|
-set(FREERDP_INSTALL_INCLUDE_DIR include/freerdp${FREERDP_VERSION_MAJOR}/freerdp)
|
|
|
|
+set(FREERDP_INSTALL_INCLUDE_DIR include/freerdp)
|
|
|
|
|
|
|
|
file(GLOB FREERDP_HEADERS "freerdp/*.h")
|
|
|
|
install(FILES ${FREERDP_HEADERS} DESTINATION ${FREERDP_INSTALL_INCLUDE_DIR} COMPONENT headers)
|
2020-04-03 12:22:28 -05:00
|
|
|
diff --git a/winpr/CMakeLists.txt b/winpr/CMakeLists.txt
|
2022-07-13 02:09:23 +08:00
|
|
|
index d8a40da..73ffba4 100644
|
2020-04-03 12:22:28 -05:00
|
|
|
--- a/winpr/CMakeLists.txt
|
|
|
|
+++ b/winpr/CMakeLists.txt
|
2022-07-13 02:09:23 +08:00
|
|
|
@@ -221,7 +221,7 @@ if(${CMAKE_VERSION} VERSION_GREATER "2.8.10")
|
2020-04-03 12:22:28 -05:00
|
|
|
|
|
|
|
SetFreeRDPCMakeInstallDir(WINPR_CMAKE_INSTALL_DIR "WinPR${WINPR_VERSION_MAJOR}")
|
|
|
|
|
|
|
|
- set(WINPR_INCLUDE_DIR "include/winpr${WINPR_VERSION_MAJOR}")
|
2021-02-11 16:54:50 +08:00
|
|
|
+ set(WINPR_INCLUDE_DIR "include")
|
2020-04-03 12:22:28 -05:00
|
|
|
|
|
|
|
configure_package_config_file(WinPRConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/WinPRConfig.cmake
|
|
|
|
INSTALL_DESTINATION ${WINPR_CMAKE_INSTALL_DIR}
|
2020-09-28 08:29:24 +08:00
|
|
|
diff --git a/winpr/include/CMakeLists.txt b/winpr/include/CMakeLists.txt
|
|
|
|
index 452383d..3faab0c 100644
|
|
|
|
--- a/winpr/include/CMakeLists.txt
|
|
|
|
+++ b/winpr/include/CMakeLists.txt
|
|
|
|
@@ -17,7 +17,7 @@
|
|
|
|
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/winpr/version.h.in ${CMAKE_CURRENT_BINARY_DIR}/winpr/version.h)
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/winpr/wtypes.h.in ${CMAKE_CURRENT_BINARY_DIR}/winpr/wtypes.h)
|
|
|
|
-set(WINPR_INSTALL_INCLUDE_DIR include/winpr${WINPR_VERSION_MAJOR}/winpr)
|
|
|
|
+set(WINPR_INSTALL_INCLUDE_DIR include/winpr)
|
|
|
|
|
|
|
|
file(GLOB WINPR_HEADERS "winpr/*.h")
|
|
|
|
install(FILES ${WINPR_HEADERS} DESTINATION ${WINPR_INSTALL_INCLUDE_DIR} COMPONENT headers)
|