mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 06:38:59 +08:00
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
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)
|
|
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)
|