Merge pull request #847 from emankov/master
[HIPIFY][cmake][win] check for Visual Studio version
[ROCm/hip commit: 394a3fcc52]
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
project(hipify-clang)
|
||||
|
||||
if (MSVC AND MSVC_VERSION VERSION_LESS "1900")
|
||||
message(SEND_ERROR "hipify-clang could be built by Visual Studio 14 2015 or higher.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
find_package(LLVM REQUIRED)
|
||||
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}:")
|
||||
message(STATUS " - CMake module path: ${LLVM_CMAKE_DIR}")
|
||||
|
||||
Reference in New Issue
Block a user