Skip to content

Commit 454fad4

Browse files
authored
Merge pull request #4 from hjmallon/hunter-3.0.1
Hunterize 3.0.1
2 parents 4a84390 + 9420140 commit 454fad4

File tree

5 files changed

+555
-12
lines changed

5 files changed

+555
-12
lines changed

.github/workflows/ci_workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ jobs:
237237
# ---------------------------------------------------------------------------
238238
# macOS
239239
# ---------------------------------------------------------------------------
240+
# TODO: Add ARM64/x86_64 (universal 2) build
240241
macos:
241242
name: 'macOS 10.15
242243
<AppleClang 11.0

CMakeLists.txt

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# We require this to get object library link library support
55
cmake_minimum_required(VERSION 3.12)
66

7+
include("cmake/HunterGate.cmake")
8+
HunterGate(
9+
URL "https://github.com/cpp-pm/hunter/archive/v0.23.300.tar.gz"
10+
SHA1 "1151d539465d9cdbc880ee30f794864aec11c448"
11+
)
12+
713
if(POLICY CMP0074)
814
# enable find_package(<Package>) to use <Package>_ROOT as a hint
915
cmake_policy(SET CMP0074 NEW)
@@ -47,10 +53,10 @@ add_subdirectory(cmake)
4753
add_subdirectory(src/lib)
4854
add_subdirectory(src/bin)
4955

50-
# Tell CMake where to find the OpenEXRConfig.cmake file. Makes it posible to call
56+
# Tell CMake where to find the OpenEXRConfig.cmake file. Makes it posible to call
5157
# find_package(OpenEXR) in downstream projects
5258
set(OpenEXR_DIR "${CMAKE_CURRENT_BINARY_DIR}/cmake" CACHE PATH "" FORCE)
53-
# Add an empty OpenEXRTargets.cmake file for the config to use.
59+
# Add an empty OpenEXRTargets.cmake file for the config to use.
5460
# Can be empty since we already defined the targets in add_subdirectory
5561
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/cmake/OpenEXRTargets.cmake" "# Dummy file")
5662

@@ -63,7 +69,7 @@ endif()
6369
# upload the results, cmake has builtin support for
6470
# submitting to CDash, or any server who speaks the
6571
# same protocol
66-
#
72+
#
6773
# These settings will need to be set for your environment,
6874
# and then a script such as the example in
6975
#
@@ -74,7 +80,7 @@ endif()
7480
# cmake -S cmake/SampleCTestScript.cmake
7581
#
7682
# [or whatever you name the file you edit]
77-
#
83+
#
7884
#set(CTEST_PROJECT_NAME "OpenEXR")
7985
#set(CTEST_NIGHTLY_START_TIME "01:01:01 UTC")
8086
#set(CTEST_DROP_METHOD "http") # there are others...

cmake/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ set(OPENEXR_IMF_HAVE_COMPLETE_IOMANIP TRUE)
5353

5454
if(APPLE)
5555
set(OPENEXR_IMF_HAVE_DARWIN TRUE)
56-
if (${CMAKE_OSX_ARCHITECTURES} MATCHES arm64)
57-
set(OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX FALSE)
58-
endif()
5956
endif()
6057

6158
if (OPENEXR_ENABLE_LARGE_STACK)

0 commit comments

Comments
 (0)