Enhance cmake makefiles (#1390)
Upgrade `cmake_minimum_required` from `(VERSION 2.8)` to `(VERSION 2.9)` to yield the warning: "Compatibility with CMake < 2.8.12 will be removed from a future version of CMake" Add "-Wno-unused" for CMAKE_CXX_FLAGS to yield the compilation warnings when build LLVM JIT. Fix the link error when code coverage is enabled.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
cmake_minimum_required (VERSION 2.9)
|
||||
|
||||
if (NOT WAMR_BUILD_PLATFORM STREQUAL "windows")
|
||||
project(ref-types)
|
||||
|
||||
Reference in New Issue
Block a user