[llvm] r228810 - Fix build for CMake < 2.8.12.
Peter Collingbourne
peter at pcc.me.uk
Tue Feb 10 21:58:57 PST 2015
Author: pcc
Date: Tue Feb 10 23:58:57 2015
New Revision: 228810
URL: http://llvm.org/viewvc/llvm-project?rev=228810&view=rev
Log:
Fix build for CMake < 2.8.12.
Modified:
llvm/trunk/lib/DebugInfo/PDB/CMakeLists.txt
Modified: llvm/trunk/lib/DebugInfo/PDB/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/CMakeLists.txt?rev=228810&r1=228809&r2=228810&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/CMakeLists.txt (original)
+++ llvm/trunk/lib/DebugInfo/PDB/CMakeLists.txt Tue Feb 10 23:58:57 2015
@@ -72,4 +72,4 @@ add_llvm_library(LLVMDebugInfoPDB
${LIBPDB_ADDITIONAL_HEADER_DIRS}
)
-target_link_libraries(LLVMDebugInfoPDB INTERFACE "${LIBPDB_ADDITIONAL_LIBRARIES}")
+target_link_libraries(LLVMDebugInfoPDB ${cmake_2_8_12_INTERFACE} "${LIBPDB_ADDITIONAL_LIBRARIES}")
More information about the llvm-commits
mailing list