Commit 29fadb6e authored by evpobr's avatar evpobr Committed by Erik de Castro Lopo

Enable components search in package config mode

parent 1794b0cd
......@@ -7,3 +7,12 @@ if(@OGG_FOUND@)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/targets.cmake")
if(TARGET FLAC::FLAC)
set(FLAC_FLAC_FOUND 1)
endif()
if(TARGET FLAC::FLAC++)
set(FLAC_FLAC++_FOUND 1)
endif()
check_required_components(FLAC)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment