UseSWIG: Incorrect path set for SWIG_LIB
I just upgraded to 3.12.0 rc1 & discovered that in UseSWIG.cmake Line 418, the ENV variable SWIG_LIB
is set to ${SWIG_DIR}
& this results in errors like
:1. Unable to find 'swig.swg'
:3. Unable to find 'tcl8.swg'
To resolve, we need to set the path to the Lib directory like SWIG_LIB=${SWIG_DIR}/Lib
@marc.chevrier it seems this change was introduced as part of MR !1891 (merged), any reason this was added? As it worked without setting this ENV variable in the past.
Edited by Rishi Theivendran