Diff of /smage/branches/alx07x-stable/include/cmake.sminc
Parent Directory | Revision Log | Patch
smage/trunk/include/cmake.sminc revision 13780 by niro, Wed Oct 30 12:52:26 2019 UTC | smage/branches/alx07x-stable/include/cmake.sminc revision 15579 by niro, Fri Sep 11 05:43:27 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 |
|