Skip to content

Commit 9f9886b

Browse files
committed
Add support for Apple framework builds
Signed-off-by: Treata11 <[email protected]>
1 parent c5eb9f1 commit 9f9886b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ Contrib/DtexToExr/DtexToExr
4646
*.trs
4747
*.project
4848
*.cproject
49+
*.framework
50+
*.xcframework
4951
.DS_Store
5052
abi_check
51-
build/
52-
build-win/
53-
build-nuget/
53+
build*/
54+
build-win*/
55+
build-nuget*/
5456
*~
5557
.vscode
5658
docs/_test_images/

cmake/LibraryDefine.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function(OPENEXR_DEFINE_LIBRARY libname)
8888
MACOSX_FRAMEWORK_BUNDLE_VERSION "${OPENEXR_VERSION_FULL}"
8989
MACOSX_FRAMEWORK_SHORT_VERSION_STRING "${OPENEXR_VERSION_API}"
9090
MACOSX_RPATH TRUE
91-
# RESOURCE ${PublicHeaders}
91+
# RESOURCE ${PublicHeaders} //
9292
)
9393
endif()
9494
add_library(${PROJECT_NAME}::${libname} ALIAS ${libname})

0 commit comments

Comments
 (0)