Skip to content

Commit 0be3ced

Browse files
authored
Use dedicated function to set -w flag to imgui files (#174)
1 parent 0abb219 commit 0be3ced

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Framework/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ if(GLFW_FOUND)
200200
src/imgui/imgui_demo.cpp
201201
src/imgui/BaseGui.cxx
202202
)
203-
set(${IMGUI_SRCS} PROPERTIES COMPILE_FLAGS -w)
203+
set_source_files_properties(${IMGUI_SRCS} PROPERTIES COMPILE_FLAGS -w)
204204

205205
set(
206206
GUI_SRCS

0 commit comments

Comments
 (0)