We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d91a08 commit 406b5deCopy full SHA for 406b5de
cmake/LSLCMake.cmake
@@ -352,6 +352,12 @@ macro(LSLGenerateCPackConfig)
352
get_property(LSLDEPENDS GLOBAL PROPERTY "LSLDEPENDS_${component}")
353
if(LSLDEPENDS)
354
list(REMOVE_DUPLICATES LSLDEPENDS)
355
+ # remove dependencies we don't package ourselves
356
+ set(MISSING ${LSLDEPENDS})
357
+ list(REMOVE_ITEM MISSING ${CPACK_COMPONENTS_ALL})
358
+ if(MISSING)
359
+ list(REMOVE_ITEM LSLDEPENDS ${MISSING})
360
+ endif()
361
set("CPACK_COMPONENT_${COMPONENT}_DEPENDS" ${LSLDEPENDS})
362
endif()
363
0 commit comments