mirror of https://github.com/xiph/flac
Ogg::Ogg renamed to Ogg::ogg
This commit is contained in:
parent
573dbc12ae
commit
55447a2d58
|
@ -18,9 +18,9 @@ find_package_handle_standard_args(OGG
|
|||
REQUIRED_VARS OGG_INCLUDE_DIR OGG_LIBRARY
|
||||
VERSION_VAR _OGG_VERSION)
|
||||
|
||||
if(OGG_FOUND AND NOT TARGET Ogg::Ogg)
|
||||
add_library(Ogg::Ogg UNKNOWN IMPORTED)
|
||||
set_target_properties(Ogg::Ogg PROPERTIES
|
||||
if(OGG_FOUND AND NOT TARGET Ogg::ogg)
|
||||
add_library(Ogg::ogg UNKNOWN IMPORTED)
|
||||
set_target_properties(Ogg::ogg PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${OGG_INCLUDE_DIR}"
|
||||
IMPORTED_LOCATION "${OGG_LIBRARY}")
|
||||
endif()
|
||||
|
|
|
@ -101,8 +101,8 @@ target_include_directories(FLAC INTERFACE
|
|||
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>"
|
||||
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
|
||||
target_link_libraries(FLAC PRIVATE $<$<BOOL:${HAVE_LROUND}>:m>)
|
||||
if(TARGET Ogg::Ogg)
|
||||
target_link_libraries(FLAC PUBLIC Ogg::Ogg)
|
||||
if(TARGET Ogg::ogg)
|
||||
target_link_libraries(FLAC PUBLIC Ogg::ogg)
|
||||
endif()
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set_target_properties(FLAC PROPERTIES
|
||||
|
|
Loading…
Reference in New Issue