File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,6 @@ if (${WITH_PARMYS})
9999 WORKING_DIRECTORY ${SLANG_SRC_DIR}
100100 )
101101 set (SLANG_FE "${SLANG_SRC_DIR} /src/slang_frontend.cc" )
102- CHECK_CXX_COMPILER_FLAG("-w" CXX_COMPILER_SUPPORTS_-w)
103- if (CXX_COMPILER_SUPPORTS_-w)
104- add_compile_options ("-w" )
105- endif ()
106102 ExternalProject_Add(
107103 yosys-slang
108104 SOURCE_DIR ${SLANG_SRC_DIR}
@@ -119,8 +115,7 @@ if (${WITH_PARMYS})
119115 BUILD_COMMAND
120116 ${CMAKE_COMMAND} -E env
121117 YOSYS_PREFIX=${CMAKE_BINARY_DIR} /bin/
122- CMAKE_FLAGS ="-DCMAKE_BUILD_TYPE=Release"
123- CMAKE_CXX_FLAGS ="-w"
118+ CMAKE_FLAGS ="-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-w"
124119 ${MAKE_PROGRAM} -C ${SLANG_SRC_DIR} install
125120
126121 INSTALL_COMMAND ""
You can’t perform that action at this time.
0 commit comments