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})
99
99
WORKING_DIRECTORY ${SLANG_SRC_DIR}
100
100
)
101
101
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 ()
106
102
ExternalProject_Add (
107
103
yosys-slang
108
104
SOURCE_DIR ${SLANG_SRC_DIR}
@@ -119,8 +115,7 @@ if (${WITH_PARMYS})
119
115
BUILD_COMMAND
120
116
${CMAKE_COMMAND} -E env
121
117
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"
124
119
${MAKE_PROGRAM} -C ${SLANG_SRC_DIR} install
125
120
126
121
INSTALL_COMMAND ""
You can’t perform that action at this time.
0 commit comments