Move the "LLVM found" print adjacent to the find_package call

Very surprising that LLVM's finder module doesn't print this
itself like _literally every other finder module_. Blarg.
此提交包含在:
Chris Kitching
2017-10-24 21:32:51 +01:00
父節點 a13e983215
當前提交 5211d48ca1
+1 -2
查看文件
@@ -2,14 +2,13 @@ cmake_minimum_required(VERSION 2.8.8)
project(hipify-clang)
find_package(LLVM PATHS ${HIPIFY_CLANG_LLVM_DIR} REQUIRED NO_DEFAULT_PATH)
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
option(HIPIFY_CLANG_TESTS "Build the tests for hipify-clang, if lit is installed" OFF)
list(APPEND CMAKE_MODULE_PATH ${LLVM_CMAKE_DIR})
include(AddLLVM)
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
include_directories(${LLVM_INCLUDE_DIRS})
link_directories(${LLVM_LIBRARY_DIRS})
add_definitions(${LLVM_DEFINITIONS})