Skip to content

Commit 71f2768

Browse files
committed
Fix MinSizeRel Install step
1 parent f2d83c2 commit 71f2768

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/modules/vvdecInstall.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ endif()
7474
install_targets( "${INSTALL_TARGETS}" Release )
7575
install_targets( "${INSTALL_TARGETS}" Debug )
7676
install_targets( "${INSTALL_TARGETS}" RelWithDebInfo )
77+
install_targets( "${INSTALL_TARGETS}" MinSizeRel )
7778

7879
# install pdb files
7980
install_lib_pdb( vvdec )
@@ -105,6 +106,8 @@ endif()
105106
install( EXPORT vvdecTargets-release NAMESPACE vvdec:: FILE vvdecTargets-${CONFIG_POSTFIX}.cmake CONFIGURATIONS Release DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/vvdec )
106107
install( EXPORT vvdecTargets-debug NAMESPACE vvdec:: FILE vvdecTargets-${CONFIG_POSTFIX}.cmake CONFIGURATIONS Debug DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/vvdec )
107108
install( EXPORT vvdecTargets-relwithdebinfo NAMESPACE vvdec:: FILE vvdecTargets-${CONFIG_POSTFIX}.cmake CONFIGURATIONS RelWithDebInfo DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/vvdec )
109+
install( EXPORT vvdecTargets-relwithdebinfo NAMESPACE vvdec:: FILE vvdecTargets-${CONFIG_POSTFIX}.cmake CONFIGURATIONS MinSizeRel DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/vvdec )
110+
108111

109112
function( resolve_target_interface_libs TGT OUT_VAR )
110113
get_target_property( interface_libs ${TGT} INTERFACE_LINK_LIBRARIES )

0 commit comments

Comments
 (0)