Commit b356b986 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

fixed a bug in 'gaudi_resolve_link_libraries'

To simplify, I was removing duplicated, from the list, but this screws
up the special options of the target_link_libraries command (e.g.
release/debug libraries, as used by Boost).
This was causing a double link of boost libraries, one from heptools and
the other from the system.
parent c4e3cbfd
......@@ -549,7 +549,6 @@ function(gaudi_resolve_link_libraries variable)
endif()
endif()
endforeach()
list(REMOVE_DUPLICATES collected)
set(${variable} ${collected} PARENT_SCOPE)
endfunction()
......
Supports Markdown
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