mirror of https://github.com/xiph/flac
link lm publicly to FLAC
This commit is contained in:
parent
cffe3890c7
commit
1d5299d67b
|
@ -102,7 +102,7 @@ endif()
|
|||
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>)
|
||||
target_link_libraries(FLAC PUBLIC $<$<BOOL:${HAVE_LROUND}>:m>)
|
||||
if(TARGET Ogg::ogg)
|
||||
target_link_libraries(FLAC PUBLIC Ogg::ogg)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue