suppress swig compile warnings
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
ad61c71ce1
commit
632743b612
|
|
@ -329,6 +329,15 @@ swig_add_library(sta_swig
|
|||
SOURCES ${STA_SWIG_FILE}
|
||||
)
|
||||
|
||||
get_target_property(SWIG_FILES sta_swig SOURCES)
|
||||
|
||||
foreach(SWIG_FILE ${SWIG_FILES})
|
||||
set_source_files_properties(${SWIG_FILE}
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "-Wno-cast-qual;-Wno-missing-braces"
|
||||
)
|
||||
endforeach()
|
||||
|
||||
target_link_libraries(sta_swig
|
||||
PUBLIC
|
||||
OpenSTA
|
||||
|
|
|
|||
Loading…
Reference in New Issue