mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 09:28:07 +08:00
079a19c9bb
* openexr: Bump to 2.5.8 The x-add-version and patch fixes will be in next commits. * openexr: vcpkg.json: Use "version" instead of "version-string" * openexr: vcpkg.json: Add SPDX license identifier * openexr: Clean 0001*-find_package patch As upstream has cleaned it up already. * openexr: Clean 0002-fixup_cmake_exports** patch from old whitespace fix The upstream was already fixed it. * openexr: Drop symlinks and find-pkg patches as it were handled at upstream * openexr: Fix ARM build See upstream fix for details in openexr/openexr#1216: https://github.com/AcademySoftwareFoundation/openexr/pull/1216 * openexr: Migrate the old function to new vcpkg-cmake-config helpers * openexr/portfile: Add comment about version for commit revision * openexr: Update baseline via `vcpkg x-add-version openexr'
70 lines
2.9 KiB
Diff
70 lines
2.9 KiB
Diff
diff --git a/IlmBase/config/CMakeLists.txt b/IlmBase/config/CMakeLists.txt
|
|
index d9c5ae4..45ee6cc 100644
|
|
--- a/IlmBase/config/CMakeLists.txt
|
|
+++ b/IlmBase/config/CMakeLists.txt
|
|
@@ -105,7 +105,7 @@ endif()
|
|
include(CMakePackageConfigHelpers)
|
|
configure_package_config_file(IlmBaseConfig.cmake.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
|
|
- INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
+ INSTALL_DESTINATION share/ilmbase
|
|
)
|
|
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
|
|
VERSION ${ILMBASE_VERSION}
|
|
@@ -113,10 +113,10 @@ write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
|
|
)
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
|
|
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
|
|
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
+ DESTINATION share/ilmbase
|
|
)
|
|
install(EXPORT ${PROJECT_NAME}
|
|
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
+ DESTINATION share/ilmbase
|
|
FILE ${PROJECT_NAME}Targets.cmake
|
|
NAMESPACE ${PROJECT_NAME}::
|
|
EXPORT_LINK_INTERFACE_LIBRARIES
|
|
diff --git a/OpenEXR/config/CMakeLists.txt b/OpenEXR/config/CMakeLists.txt
|
|
index b52ad0d..3dc6d22 100644
|
|
--- a/OpenEXR/config/CMakeLists.txt
|
|
+++ b/OpenEXR/config/CMakeLists.txt
|
|
@@ -100,7 +100,7 @@ endif()
|
|
include(CMakePackageConfigHelpers)
|
|
configure_package_config_file(OpenEXRConfig.cmake.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
|
|
- INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
+ INSTALL_DESTINATION share/openexr
|
|
)
|
|
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
|
|
VERSION ${OPENEXR_VERSION}
|
|
@@ -108,10 +108,10 @@ write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
|
|
)
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
|
|
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
|
|
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
+ DESTINATION share/openexr
|
|
)
|
|
install(EXPORT ${PROJECT_NAME}
|
|
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
+ DESTINATION share/openexr
|
|
FILE ${PROJECT_NAME}Targets.cmake
|
|
NAMESPACE ${PROJECT_NAME}::
|
|
EXPORT_LINK_INTERFACE_LIBRARIES
|
|
diff --git a/PyIlmBase/config/CMakeLists.txt b/PyIlmBase/config/CMakeLists.txt
|
|
index 1872c89..bc61f43 100644
|
|
--- a/PyIlmBase/config/CMakeLists.txt
|
|
+++ b/PyIlmBase/config/CMakeLists.txt
|
|
@@ -39,10 +39,10 @@ write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
|
|
COMPATIBILITY SameMajorVersion
|
|
)
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
|
|
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
+ DESTINATION share/pyilmbase
|
|
)
|
|
install(EXPORT ${PROJECT_NAME}
|
|
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
+ DESTINATION share/pyilmbase
|
|
FILE ${PROJECT_NAME}Config.cmake
|
|
NAMESPACE ${PROJECT_NAME}::
|
|
EXPORT_LINK_INTERFACE_LIBRARIES
|