Browse Source

get_llvm_build_dir() returns "build" subdir if it exists, if not - subdir with package name.

pull/1018/head
Rokas Kupstys 8 years ago
parent
commit
d4c4050157
  1. 8
      build/LLVM.lua

8
build/LLVM.lua

@ -25,7 +25,13 @@ function SearchLLVM() @@ -25,7 +25,13 @@ function SearchLLVM()
end
function get_llvm_build_dir()
return path.join(LLVMRootDir, get_llvm_package_name())
local packageDir = path.join(LLVMRootDir, get_llvm_package_name())
local buildDir = path.join(LLVMRootDir, "build")
if os.isdir(buildDir) then
return buildDir
else
return packageDir
end
end
function SetupLLVMIncludes()

Loading…
Cancel
Save