mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
find_package2: Fix list sub-command REMOVE_DUPLICATES requires list to be present
Fixes #175
This commit is contained in:
parent
4d53b7c024
commit
b1c8264123
|
@ -362,7 +362,7 @@ macro(find_package2 qualifier pkgname)
|
|||
endif()
|
||||
# deduplicate required component list
|
||||
if(__components__)
|
||||
list(REMOVE_DUPLICATES ARGS_COMPONENTS)
|
||||
list(REMOVE_DUPLICATES __components__)
|
||||
endif()
|
||||
|
||||
# call native find_package
|
||||
|
|
Loading…
Reference in New Issue
Block a user