<div dir="ltr"><p>Thanks. I'll look to see if any other LLVM projects have bumped the CMake version to 3 yet. If so that's the direction I will head.</p><p><br></p><p><br></p><p><br></p>
<div class="gmail_quote">On Oct 20, 2015 9:39 PM, "Hahnfeld, Jonas" <<a href="mailto:Hahnfeld@itc.rwth-aachen.de" target="_blank">Hahnfeld@itc.rwth-aachen.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> -----Original Message-----<br>
> From: cfe-commits [mailto:<a href="mailto:cfe-commits-bounces@lists.llvm.org" target="_blank">cfe-commits-bounces@lists.llvm.org</a>] On Behalf<br>
> Of Eric Fiselier via cfe-commits<br>
> Sent: Wednesday, October 14, 2015 9:54 PM<br>
> To: <a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
> Subject: [libcxx] r250319 - [libcxx] Make it drastically simpler to link<br>
> libc++.<br>
><br>
> Author: ericwf<br>
> Date: Wed Oct 14 14:54:03 2015<br>
> New Revision: 250319<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=250319&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=250319&view=rev</a><br>
> Log:<br>
> [libcxx] Make it drastically simpler to link libc++.<br>
[...]<br>
>  if (LIBCXX_INSTALL_LIBRARY)<br>
>    install(TARGETS cxx<br>
>      LIBRARY DESTINATION lib${LIBCXX_LIBDIR_SUFFIX} COMPONENT libcxx<br>
>      ARCHIVE DESTINATION lib${LIBCXX_LIBDIR_SUFFIX} COMPONENT libcxx<br>
>      )<br>
> +  # NOTE: This install command must go after the cxx install command<br>
> + otherwise  # it will not be executed after the library symlinks are<br>
> installed.<br>
> +  if (LIBCXX_ENABLE_ABI_LINKER_SCRIPT)<br>
> +    install(FILES "$<TARGET_LINKER_FILE:cxx>"<br>
> +      DESTINATION lib${LIBCXX_LIBDIR_SUFFIX}<br>
> +      COMPONENT libcxx)<br>
> +  endif()<br>
>  endif()<br>
<br>
Generator expressions in install(FILES) are only allowed since CMake 3.0<br>
(<a href="https://cmake.org/cmake/help/v3.0/release/3.0.0.html#commands" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/v3.0/release/3.0.0.html#commands</a>).<br>
The current minimum for libcxx is 2.8, so this should either be raised or we<br>
have to find another possibility of writing this install command...<br>
<br>
Greetings<br>
Jonas<br>
</blockquote></div>
</div>