Open
Description
The OpenEXRSetup.cmake scripts sets the CMAKE_DEBUG_POSTFIX even if it is subproject. This overwrites the settings of the parent project and may cause problems the the cmake configuration.
Other cmake projects use a guard to avoid this. Something like
if (NOT CMAKE_DEBUG_POSTFIX)
set(CMAKE_DEBUG_POSTFIX "_d" CACHE STRING "Suffix for debug builds")
endif()