File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ find_package(Ogg CONFIG ${cmake_quiet_arg})
1212if (NOT TARGET Ogg::ogg)
1313 find_package (PkgConfig REQUIRED ${cmake_quiet_arg} )
1414 pkg_check_modules(Ogg ${cmake_required_arg} ${cmake_quiet_arg} IMPORTED_TARGET ogg)
15+ set_target_properties (PkgConfig::Ogg PROPERTIES IMPORTED_GLOBAL TRUE )
1516 add_library (Ogg::ogg ALIAS PkgConfig::Ogg)
1617endif ()
1718
@@ -25,6 +26,7 @@ find_package(Opus CONFIG ${cmake_quiet_arg})
2526if (NOT TARGET Opus::opus)
2627 find_package (PkgConfig REQUIRED ${cmake_quiet_arg} )
2728 pkg_check_modules(Opus ${cmake_required_arg} ${cmake_quiet_arg} IMPORTED_TARGET opus)
29+ set_target_properties (PkgConfig::Opus PROPERTIES IMPORTED_GLOBAL TRUE )
2830 add_library (Opus::opus ALIAS PkgConfig::Opus)
2931endif ()
3032
You can’t perform that action at this time.
0 commit comments