Skip to content

Commit

Permalink
Add STATUS message showing Imath_DIR (#993)
Browse files Browse the repository at this point in the history
A status message is reported when Imath is installed from an external
repo. This adds a similar message confirming the location of Imath
when specified via Imath_DIR.

Signed-off-by: Cary Phillips <cary@ilm.com>
  • Loading branch information
cary-ilm authored Mar 30, 2021
1 parent 217140e commit 29960fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/OpenEXRSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,6 @@ if(NOT TARGET Imath::Imath AND NOT Imath_FOUND)
# hrm, cmake makes Imath lowercase for the properties (to imath)
add_subdirectory(${imath_SOURCE_DIR} ${imath_BINARY_DIR})
endif()
else()
message(STATUS "Using Imath from ${Imath_DIR}")
endif()

0 comments on commit 29960fc

Please sign in to comment.