44# We require this to get object library link library support 
55cmake_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+ 
713if (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)
4753add_subdirectory (src/lib)
4854add_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 
5258set (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 
5561file (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... 
0 commit comments