[LLVMbugs] [Bug 9699] New: cmake fails with error in tools/clang/CMakeLists.txt:178 (link_system_libs)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 13 09:20:29 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9699
Summary: cmake fails with error in
tools/clang/CMakeLists.txt:178 (link_system_libs)
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: release blocker
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: david at binachip.com
CC: llvmbugs at cs.uiuc.edu
The following error appears while running cmake in cygwin for Visual Studio
2010 on Win64 platform. Apparently the function "link_system_libs" is not
defined anywhere.
-- Clang version: 2.9
CMake Error at tools/clang/CMakeLists.txt:178 (link_system_libs):
Unknown CMake command "link_system_libs".
Call Stack (most recent call first):
tools/clang/lib/Basic/CMakeLists.txt:3 (add_clang_library)
To fix this error, the following lines need to be added to
tools/clang/CMakeLists.txt:
function(link_system_libs target)
get_system_libs(llvm_system_libs)
target_link_libraries(${target} ${llvm_system_libs})
endfunction(link_system_libs)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list