| ... | ... | @@ -15,6 +15,15 @@ find_program(LLVM_CONFIG_EXE |
| 15 | 15 | "c:/msys64/mingw64/bin" |
| 16 | 16 | "C:/Libraries/llvm-7.0.0/bin") |
| 17 | 17 | |
| 18 | execute_process( |
| 19 | 	COMMAND ${LLVM_CONFIG_EXE} --version |
| 20 | 	OUTPUT_VARIABLE LLVM_CONFIG_VERSION |
| 21 | 	OUTPUT_STRIP_TRAILING_WHITESPACE) |
| 22 | |
| 23 | if(LLVM_CONFIG_VERSION VERSION_LESS 7) |
| 24 | message(FATAL_ERROR "expected LLVM version >=7 but found ${LLVM_CONFIG_VERSION}") |
| 25 | endif() |
| 26 | |
| 18 | 27 | if(NOT(CMAKE_BUILD_TYPE STREQUAL "Debug") OR ZIG_STATIC) |
| 19 | 28 | execute_process( |
| 20 | 29 | COMMAND ${LLVM_CONFIG_EXE} --libfiles --link-static |