Skip to content

Commit

Permalink
Merge pull request #204 from K-os/fix_MinSizeRel_install
Browse files Browse the repository at this point in the history
Fix MinSizeRel Install step
  • Loading branch information
adamjw24 authored Oct 11, 2024
2 parents f2d83c2 + d16e082 commit 737bfb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/modules/vvdecInstall.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ endif()
install_targets( "${INSTALL_TARGETS}" Release )
install_targets( "${INSTALL_TARGETS}" Debug )
install_targets( "${INSTALL_TARGETS}" RelWithDebInfo )
install_targets( "${INSTALL_TARGETS}" MinSizeRel )

# install pdb files
install_lib_pdb( vvdec )
Expand Down Expand Up @@ -105,6 +106,8 @@ endif()
install( EXPORT vvdecTargets-release NAMESPACE vvdec:: FILE vvdecTargets-${CONFIG_POSTFIX}.cmake CONFIGURATIONS Release DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/vvdec )
install( EXPORT vvdecTargets-debug NAMESPACE vvdec:: FILE vvdecTargets-${CONFIG_POSTFIX}.cmake CONFIGURATIONS Debug DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/vvdec )
install( EXPORT vvdecTargets-relwithdebinfo NAMESPACE vvdec:: FILE vvdecTargets-${CONFIG_POSTFIX}.cmake CONFIGURATIONS RelWithDebInfo DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/vvdec )
install( EXPORT vvdecTargets-minsizerel NAMESPACE vvdec:: FILE vvdecTargets-${CONFIG_POSTFIX}.cmake CONFIGURATIONS MinSizeRel DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/vvdec )


function( resolve_target_interface_libs TGT OUT_VAR )
get_target_property( interface_libs ${TGT} INTERFACE_LINK_LIBRARIES )
Expand Down

0 comments on commit 737bfb7

Please sign in to comment.