Closed leleliu008 closed 2 years ago
Thanks @leleliu008 , I've made a change which I think will work for you. It's on the devel
branch. Could you check it out and tell if it works for you?
@rizsotto I have confirmed that it works for me, thanks.
Thank you @leleliu008 !
It will be released as 3.0.17
in this month.
relavent code : https://github.com/rizsotto/Bear/blob/master/CMakeLists.txt#L38-L62
CMAKE_FIND_ROOT_PATH
andCMAKE_IGNORE_PATH
are very useful when cross compiling. and these variables are not passed to the source subproject.I find only pass
CMAKE_PREFIX_PATH
not enought when cross compiling.