Diff of /trunk/include/cmake.sminc
Parent Directory | Revision Log | Patch
revision 33313 by niro, Tue Oct 22 12:29:35 2019 UTC | revision 33314 by niro, Wed Aug 19 12:47:32 2020 UTC | |
---|---|---|
# | Line 210 cmake_src_compile() | Line 210 cmake_src_compile() |
210 | { | { |
211 | [[ -n ${CMAKE_SRCDIR} ]] || local CMAKE_SRCDIR | [[ -n ${CMAKE_SRCDIR} ]] || local CMAKE_SRCDIR |
212 | ||
213 | : ${CMAKE_SRCDIR="${SRCDIR}"} | if [[ ${MULTILIB_BUILD} = true ]] |
214 | then | |
215 | : ${CMAKE_SRCDIR="${SRCDIR}-$(mabi)/${SRCSUBDIR}"} | |
216 | else | |
217 | : ${CMAKE_SRCDIR="${SRCDIR}"} | |
218 | fi | |
219 | cd ${CMAKE_SRCDIR} | cd ${CMAKE_SRCDIR} |
220 | ||
221 | cmake_setup_builddir || die | cmake_setup_builddir || die |
|