diff options
Diffstat (limited to 'cmake/modules/FindBluray.cmake')
| -rw-r--r-- | cmake/modules/FindBluray.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/modules/FindBluray.cmake b/cmake/modules/FindBluray.cmake index 58a9a91..34bc50e 100644 --- a/cmake/modules/FindBluray.cmake +++ b/cmake/modules/FindBluray.cmake | |||
| @@ -48,6 +48,10 @@ if(BLURAY_FOUND) | |||
| 48 | list(APPEND BLURAY_DEFINITIONS -DHAVE_LIBBLURAY_BDJ=1) | 48 | list(APPEND BLURAY_DEFINITIONS -DHAVE_LIBBLURAY_BDJ=1) |
| 49 | endif() | 49 | endif() |
| 50 | 50 | ||
| 51 | if(${BLURAY_LIBRARY} MATCHES ".+\.a$" AND PC_BLURAY_STATIC_LIBRARIES) | ||
| 52 | list(APPEND BLURAY_LIBRARIES ${PC_BLURAY_STATIC_LIBRARIES}) | ||
| 53 | endif() | ||
| 54 | |||
| 51 | if(NOT TARGET Bluray::Bluray) | 55 | if(NOT TARGET Bluray::Bluray) |
| 52 | add_library(Bluray::Bluray UNKNOWN IMPORTED) | 56 | add_library(Bluray::Bluray UNKNOWN IMPORTED) |
| 53 | if(BLURAY_LIBRARY) | 57 | if(BLURAY_LIBRARY) |
