clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors
This commit is contained in:
@@ -85,6 +85,9 @@ SET(PathGuiIcon_SVG
|
||||
|
||||
add_library(PathGui SHARED ${PathGui_SRCS} ${PathGuiIcon_SVG})
|
||||
target_link_libraries(PathGui ${PathGui_LIBS})
|
||||
if (FREECAD_WARN_ERROR)
|
||||
target_compile_warn_error(PathGui)
|
||||
endif()
|
||||
|
||||
SET_BIN_DIR(PathGui PathGui /Mod/CAM)
|
||||
SET_PYTHON_PREFIX_SUFFIX(PathGui)
|
||||
|
||||
Reference in New Issue
Block a user