Skip to content

Instantly share code, notes, and snippets.

@kumagi
Created October 18, 2016 18:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kumagi/bd72a0ee4071f0ffa518666abceec2ca to your computer and use it in GitHub Desktop.
lld/build$ cmake -G Ninja ..
CMake Error at CMakeLists.txt:6 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
-- LLD version:
CMake Error at CMakeLists.txt:10 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
CMake Error at CMakeLists.txt:12 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
CMake Error at CMakeLists.txt:91 (add_llvm_library):
Unknown CMake command "add_llvm_library".
Call Stack (most recent call first):
lib/Config/CMakeLists.txt:1 (add_lld_library)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.4)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
@dalilavieira
Copy link

Hi. Have you found the solution for this problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment