Skip to content

Commit

Permalink
Clearify error message for mismatched llvm.
Browse files Browse the repository at this point in the history
The user needs only to specify the major version and I've made this
clear in the error message.
  • Loading branch information
gslavin committed Apr 3, 2019
1 parent 1e3b1be commit 9b77fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -75,7 +75,7 @@ endif()

if(${LLVM_VERSION_MAJOR} VERSION_LESS 5)
message(SEND_ERROR "Unsupported LLVM version found: ${LLVM_INCLUDE_DIRS}")
message(SEND_ERROR "Specify an LLVM major version using LLVM_REQUESTED_VERION=<version>")
message(SEND_ERROR "Specify an LLVM major version using LLVM_REQUESTED_VERION=<major version>")
endif()

include_directories(SYSTEM ${LLVM_INCLUDE_DIRS})
Expand Down

0 comments on commit 9b77fee

Please sign in to comment.