<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Moin moin</div><div><br></div><div><a href="http://cmake.mk">cmake.mk</a> passes </div><div>                        -DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" <br></div><div>to cmake. The value of CMAKE_INSTALL_PREFIX is set (also in <a href="http://cmake.mk">cmake.mk</a>) to <br></div><div>                        CMAKE_INSTALL_PREFIX?=  ${PREFIX}<br></div><div><br></div><div>That is, set  PREFIX, and it /should/ work -- note that most stuff will fail with PREFIX!=LOCALBASE.</div><div><br></div><div><br></div><div>mfg Tobias<br></div><div><br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, 29 Sep 2018 at 09:59, blubee blubeeme <<a href="mailto:gurenchan@gmail.com">gurenchan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello<div><br></div><div>I think that I might have found a bug or there's some issues in my setup.</div><div><br></div><div>I am running poudriere and I add these flags to a Makefile:</div><div>CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX=${LOCALBASE}/dir</div><div><br></div><div>checking in </div><div>pre-build:</div><div>    echo ${CMAKE_ARGS}</div><div><br></div><div>shows that /usr/local/dir is passed to cmake.</div><div><br></div><div>After building cmake totally ignores /usr/local/dir and only /usr/local is in the generated .build/CMakeCahce.txt file</div><div><br></div><div>I found a workaround by setting CMAKE_INSTALL_PREFIX= ${LOCALBASE}/dir</div><div><br></div><div>Is this the proper behavior?</div><div><br></div><div>Best,</div><div>Owen</div></div>
</blockquote></div>