bugfix [#21230] set-scene animation updates not working
[blender.git] / CMakeLists.txt
index 279f4d6594785d9277cc29e3f3764fadb9615da2..8b690cdd81a3c23262a4dc1907c40fdda08a58c5 100644 (file)
@@ -181,11 +181,12 @@ IF(UNIX AND NOT APPLE)
                ENDIF(NOT SDL_FOUND)
        ENDIF(WITH_SDL)
 
+    SET(OPENEXR /usr CACHE FILEPATH "OPENEXR Directory")
        FIND_PATH(OPENEXR_INC
                ImfXdr.h
                PATHS
+        ${OPENEXR}/include/OpenEXR
                /usr/local/include/OpenEXR
-               /usr/include/OpenEXR
                /sw/include/OpenEXR
                /opt/local/include/OpenEXR
                /opt/csw/include/OpenEXR