Magellan Linux

Diff of /smage/trunk/include/cmake.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 15337 by niro, Wed Oct 30 12:52:26 2019 UTC revision 15338 by niro, Wed Aug 19 12:46:15 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

Legend:
Removed from v.15337  
changed lines
  Added in v.15338