mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
CMake: Increase minimum required LLVM version to 11
LLVM 11 is now preseent in all major stable Linux distributions. PiperOrigin-RevId: 531204137 Change-Id: I6f20aea425915023ea6113c17ff5a038a74aa919
This commit is contained in:
parent
bfa0186f72
commit
a078043f8e
|
@ -12,11 +12,11 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Minimum supported: LLVM 7.0.1
|
# Minimum supported: LLVM 11.0.0
|
||||||
find_package(LLVM REQUIRED)
|
find_package(LLVM REQUIRED)
|
||||||
find_package(Clang REQUIRED)
|
find_package(Clang REQUIRED)
|
||||||
if(LLVM_VERSION VERSION_LESS "7.0.1")
|
if(LLVM_VERSION VERSION_LESS "11.0.0")
|
||||||
message(FATAL_ERROR "SAPI header generator needs LLVM 7.0.1 or newer")
|
message(FATAL_ERROR "SAPI header generator needs LLVM 11 or newer")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(sapi_generator
|
add_library(sapi_generator
|
||||||
|
|
Loading…
Reference in New Issue
Block a user