added FindSndFile cmake module to replace inline checks.
[blender.git] / build_files / cmake / Modules / FindOpenEXR.cmake
index 9a1169733481662678e4ae3e99358786ca60c1ac..0d4610bd9269f0b18b96f042ced68b868bed2c0d 100644 (file)
@@ -79,7 +79,7 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenEXR  DEFAULT_MSG
 IF(OPENEXR_FOUND)
   SET(OPENEXR_LIBRARIES ${_openexr_LIBRARIES})
   SET(OPENEXR_INCLUDE_DIRS ${OPENEXR_INCLUDE_DIR})
-ENDIF(OPENEXR_FOUND)
+ENDIF()
 
 MARK_AS_ADVANCED(OPENEXR_INCLUDE_DIR)
 FOREACH(COMPONENT ${_openexr_FIND_COMPONENTS})