-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
When using cmake 3.19.1 to configure solid3, it shows:
CMake Error: install(EXPORT "solid3" ...) includes target "solid3" more than once in the export set.
-- Generating done
Lines 89 to 102 in c53f6bb
| install( | |
| TARGETS solid3 | |
| EXPORT solid3 | |
| ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT development | |
| LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT runtime NAMELINK_SKIP | |
| RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime | |
| ) | |
| if(DYNAMIC_SOLID) | |
| install( | |
| TARGETS solid3 | |
| EXPORT solid3 | |
| LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT development NAMELINK_ONLY | |
| ) | |
| endif() |
It export the target solid3 twice.
Related: microsoft/vcpkg#14716
Metadata
Metadata
Assignees
Labels
No labels