Skip to content

Commit

Permalink
Disable -Wno-unknown-warning-option on windows (#620)
Browse files Browse the repository at this point in the history
* unknownwarning

* reformat
  • Loading branch information
makslevental authored Sep 5, 2023
1 parent 049a4cb commit a5c51ef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/Dialect/AIE/Transforms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
#
# (c) Copyright 2021 Xilinx Inc.

if(NOT WIN32)
add_compile_options(-Wno-unknown-warning-option)
endif()

add_compile_options(-Wno-unknown-warning-option)
add_mlir_dialect_library(AIETransforms
add_mlir_dialect_library(
AIETransforms
AIEAssignBuffers.cpp
AIEAssignLockIDs.cpp
AIEFindFlows.cpp
Expand Down Expand Up @@ -35,5 +38,4 @@ add_mlir_dialect_library(AIETransforms
MLIRIR
MLIRPass
MLIRSupport
MLIRTransformUtils
)
MLIRTransformUtils)

0 comments on commit a5c51ef

Please sign in to comment.