> -----Original Message----- > From: cfe-commits [mailto:cfe-commits-boun...@lists.llvm.org] On Behalf > Of Eric Fiselier via cfe-commits > Sent: Wednesday, October 14, 2015 9:54 PM > To: cfe-commits@lists.llvm.org > Subject: [libcxx] r250319 - [libcxx] Make it drastically simpler to link > libc++. > > Author: ericwf > Date: Wed Oct 14 14:54:03 2015 > New Revision: 250319 > > URL: http://llvm.org/viewvc/llvm-project?rev=250319&view=rev > Log: > [libcxx] Make it drastically simpler to link libc++. [...] > if (LIBCXX_INSTALL_LIBRARY) > install(TARGETS cxx > LIBRARY DESTINATION lib${LIBCXX_LIBDIR_SUFFIX} COMPONENT libcxx > ARCHIVE DESTINATION lib${LIBCXX_LIBDIR_SUFFIX} COMPONENT libcxx > ) > + # NOTE: This install command must go after the cxx install command > + otherwise # it will not be executed after the library symlinks are > installed. > + if (LIBCXX_ENABLE_ABI_LINKER_SCRIPT) > + install(FILES "$<TARGET_LINKER_FILE:cxx>" > + DESTINATION lib${LIBCXX_LIBDIR_SUFFIX} > + COMPONENT libcxx) > + endif() > endif()
Generator expressions in install(FILES) are only allowed since CMake 3.0 (https://cmake.org/cmake/help/v3.0/release/3.0.0.html#commands). The current minimum for libcxx is 2.8, so this should either be raised or we have to find another possibility of writing this install command... Greetings Jonas
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits