Skip to content

Commit

Permalink
Change out-of-tree build flag name (llvm#1416)
Browse files Browse the repository at this point in the history
  • Loading branch information
qedawkins authored Sep 26, 2022
1 parent ab7aa01 commit 41d4540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ torch_mlir_add_llvm_external_project(
TORCH_MLIR_DIALECTS
${CMAKE_CURRENT_SOURCE_DIR}/externals/llvm-external-projects/torch-mlir-dialects)

option(TORCH_MLIR_OOT_BUILD "Specifies an out of tree build" OFF)
option(TORCH_MLIR_OUT_OF_TREE_BUILD "Specifies an out of tree build" OFF)

if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR TORCH_MLIR_OOT_BUILD)
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR TORCH_MLIR_OUT_OF_TREE_BUILD)
message(STATUS "Torch-MLIR out-of-tree build.")
# Out-of-tree build

Expand Down

0 comments on commit 41d4540

Please sign in to comment.