Fix for rBec81feab6649: better to search for versionned libs first, else it can use your system ones instead of those built by install_deps!
This commit is contained in:
parent
a294d3a18f
commit
839ddfbb65
@ -103,7 +103,7 @@ FOREACH(COMPONENT ${_openexr_FIND_COMPONENTS})
|
||||
|
||||
FIND_LIBRARY(OPENEXR_${UPPERCOMPONENT}_LIBRARY
|
||||
NAMES
|
||||
${COMPONENT} ${COMPONENT}-${_openexr_libs_ver}
|
||||
${COMPONENT}-${_openexr_libs_ver} ${COMPONENT}
|
||||
HINTS
|
||||
${_openexr_SEARCH_DIRS}
|
||||
PATH_SUFFIXES
|
||||
|
Loading…
Reference in New Issue
Block a user