Commit 82f6ae5e authored by Ben Boeckel's avatar Ben Boeckel
Browse files

ModelViewer: fix indentation and `if` nesting in install code

parent 440598b5
......@@ -264,14 +264,13 @@ install(CODE
if (match)
set(add_to_list ON)
if (ignore_items)
if (\${conflicting_dep} NOT IN_LIST ignore_items)
set(add_to_list OFF)
endif()
endif()
if (add_to_list)
if (\${conflicting_dep} NOT IN_LIST ignore_items)
set(add_to_list OFF)
endif()
endif()
if (add_to_list)
list(GET conflicting_deps_\${conflicting_dep} 0 dep)
list(APPEND conflicting_deps \${dep})
endif()
endif()
endif()
endforeach()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment