mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[openexr] Fix IlmImf.dll installed to the wrong location (#5677)
This commit is contained in:
parent
b2ad980029
commit
7d701a92a3
19
ports/openexr/fix_install_ilmimf.patch
Normal file
19
ports/openexr/fix_install_ilmimf.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff --git a/OpenEXR/IlmImf/CMakeLists.txt b/OpenEXR/IlmImf/CMakeLists.txt
|
||||||
|
index e1a8740..d31cf68 100644
|
||||||
|
--- a/OpenEXR/IlmImf/CMakeLists.txt
|
||||||
|
+++ b/OpenEXR/IlmImf/CMakeLists.txt
|
||||||
|
@@ -2,14 +2,6 @@
|
||||||
|
|
||||||
|
SET(CMAKE_INCLUDE_CURRENT_DIR 1)
|
||||||
|
|
||||||
|
-IF (WIN32)
|
||||||
|
- SET(RUNTIME_DIR ${OPENEXR_PACKAGE_PREFIX}/bin)
|
||||||
|
- SET(WORKING_DIR ${RUNTIME_DIR})
|
||||||
|
-ELSE ()
|
||||||
|
- SET(RUNTIME_DIR ${OPENEXR_PACKAGE_PREFIX}/lib)
|
||||||
|
- SET(WORKING_DIR .)
|
||||||
|
-ENDIF ()
|
||||||
|
-
|
||||||
|
SET(BUILD_B44EXPLOGTABLE OFF)
|
||||||
|
IF (NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/b44ExpLogTable.h")
|
||||||
|
SET(BUILD_B44EXPLOGTABLE ON)
|
@ -13,6 +13,7 @@ vcpkg_from_github(
|
|||||||
REF v${OPENEXR_VERSION}
|
REF v${OPENEXR_VERSION}
|
||||||
SHA512 ${OPENEXR_HASH}
|
SHA512 ${OPENEXR_HASH}
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
|
PATCHES "fix_install_ilmimf.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_configure_cmake(SOURCE_PATH ${SOURCE_PATH}
|
vcpkg_configure_cmake(SOURCE_PATH ${SOURCE_PATH}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user